Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

jfs: fix sparse warning in fs/jfs/xattr.c

CHECK fs/jfs/xattr.c
fs/jfs/xattr.c:1092:5: warning: symbol 'jfs_initxattrs' was not declared. Should it be static?

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>

+2 -2
+2 -2
fs/jfs/xattr.c
··· 1089 1089 } 1090 1090 1091 1091 #ifdef CONFIG_JFS_SECURITY 1092 - int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array, 1093 - void *fs_info) 1092 + static int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array, 1093 + void *fs_info) 1094 1094 { 1095 1095 const struct xattr *xattr; 1096 1096 tid_t *tid = fs_info;