Explorar o código

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>
Dave Kleikamp %!s(int64=12) %!d(string=hai) anos
pai
achega
21d1101f01
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      fs/jfs/xattr.c

+ 2 - 2
fs/jfs/xattr.c

@@ -1089,8 +1089,8 @@ int jfs_removexattr(struct dentry *dentry, const char *name)
 }
 
 #ifdef CONFIG_JFS_SECURITY
-int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array,
-		   void *fs_info)
+static int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array,
+			  void *fs_info)
 {
 	const struct xattr *xattr;
 	tid_t *tid = fs_info;