reiserfs: Make reiserfs_xattr_handlers static
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 23 Aug 2012 15:28:57 +0000 (17:28 +0200)
committerJan Kara <jack@suse.cz>
Mon, 3 Sep 2012 22:06:26 +0000 (00:06 +0200)
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 <sachin.kamat@linaro.org>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/reiserfs/xattr.c

index d319963aeb1171e755018f966a3e1bff776cacf3..c196369fe4083128163ed66707d85cde1c0367fb 100644 (file)
@@ -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,