Skip to content

Commit

Permalink
jfs: fix sparse warning in fs/jfs/xattr.c
Browse files Browse the repository at this point in the history
  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 <[email protected]>
  • Loading branch information
kleikamp committed Jun 5, 2013
1 parent 4d3797d commit 21d1101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/jfs/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 21d1101

Please sign in to comment.