Skip to content

Commit

Permalink
GFS2: local functions should be static
Browse files Browse the repository at this point in the history
Quiets the sparse noise:

warning: symbol 'gfs2_initxattrs' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Steven Whitehouse <[email protected]>
Signed-off-by: Steven Whitehouse <[email protected]>
  • Loading branch information
H Hartley Sweeten authored and swhiteho committed Dec 6, 2011
1 parent 018a01c commit 46cc1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/gfs2/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ static int link_dinode(struct gfs2_inode *dip, const struct qstr *name,
return error;
}

int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
static int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
void *fs_info)
{
const struct xattr *xattr;
Expand Down

0 comments on commit 46cc1e5

Please sign in to comment.