From: Sachin Kamat Date: Thu, 23 Aug 2012 15:28:57 +0000 (+0200) Subject: reiserfs: Make reiserfs_xattr_handlers static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=da02eb72f150bef1d281d93b3e4716ce374c4510;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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,