fs: Mark function as static in ext3/xattr_security.c
Mark function as static in ext3/xattr_security.c because it is not used outside this file. This eliminates the following warning in ext3/xattr_security.c: fs/ext3/xattr_security.c:46:5: warning: no previous prototype for ‘ext3_initxattrs’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
8ccb154c0e
commit
7d6c211350
|
@ -43,8 +43,9 @@ ext3_xattr_security_set(struct dentry *dentry, const char *name,
|
||||||
name, value, size, flags);
|
name, value, size, flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
int ext3_initxattrs(struct inode *inode, const struct xattr *xattr_array,
|
static int ext3_initxattrs(struct inode *inode,
|
||||||
void *fs_info)
|
const struct xattr *xattr_array,
|
||||||
|
void *fs_info)
|
||||||
{
|
{
|
||||||
const struct xattr *xattr;
|
const struct xattr *xattr;
|
||||||
handle_t *handle = fs_info;
|
handle_t *handle = fs_info;
|
||||||
|
|
Loading…
Reference in New Issue