提交 21d1101f 编写于 作者: D Dave Kleikamp

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: NDave Kleikamp <dave.kleikamp@oracle.com>
上级 4d3797d7
...@@ -1089,8 +1089,8 @@ int jfs_removexattr(struct dentry *dentry, const char *name) ...@@ -1089,8 +1089,8 @@ int jfs_removexattr(struct dentry *dentry, const char *name)
} }
#ifdef CONFIG_JFS_SECURITY #ifdef CONFIG_JFS_SECURITY
int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array, static int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array,
void *fs_info) void *fs_info)
{ {
const struct xattr *xattr; const struct xattr *xattr;
tid_t *tid = fs_info; tid_t *tid = fs_info;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册