From: Sachin Kamat Date: Thu, 23 Aug 2012 15:28:57 +0000 (+0200) Subject: reiserfs: Make reiserfs_xattr_handlers static X-Git-Tag: firefly_0821_release~3680^2~1919^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=da02eb72f150bef1d281d93b3e4716ce374c4510;p=firefly-linux-kernel-4.4.55.git reiserfs: Make reiserfs_xattr_handlers static Silences the following sparse warning: fs/reiserfs/xattr.c:899:28: warning: symbol 'reiserfs_xattr_handlers' was not declared. Should it be static? Signed-off-by: Sachin Kamat Signed-off-by: Jan Kara --- diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c index d319963aeb11..c196369fe408 100644 --- a/fs/reiserfs/xattr.c +++ b/fs/reiserfs/xattr.c @@ -896,7 +896,7 @@ static int create_privroot(struct dentry *dentry) { return 0; } #endif /* Actual operations that are exported to VFS-land */ -const struct xattr_handler *reiserfs_xattr_handlers[] = { +static const struct xattr_handler *reiserfs_xattr_handlers[] = { #ifdef CONFIG_REISERFS_FS_XATTR &reiserfs_xattr_user_handler, &reiserfs_xattr_trusted_handler,