summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-08-23 17:28:57 +0200
committerJan Kara <jack@suse.cz>2012-09-04 00:06:26 +0200
commitda02eb72f150bef1d281d93b3e4716ce374c4510 (patch)
tree92ccf51b950ad622c5faa2b702145b9279043e1d /fs
parent156bddd8e505b295540f3ca0e27dda68cb0d49aa (diff)
downloadlinux-stable-da02eb72f150bef1d281d93b3e4716ce374c4510.tar.gz
linux-stable-da02eb72f150bef1d281d93b3e4716ce374c4510.tar.bz2
linux-stable-da02eb72f150bef1d281d93b3e4716ce374c4510.zip
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 <sachin.kamat@linaro.org> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r--fs/reiserfs/xattr.c2
1 files changed, 1 insertions, 1 deletions
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,