From: Djalal Harouni Date: Thu, 5 Jan 2012 03:32:12 +0000 (-0500) Subject: ext4: make local symbol ext4_initxattrs static X-Git-Tag: v3.3-rc1~114^2^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=176576dbc8141528557eeeb007af2d5a2a4891ef;p=karo-tx-linux.git ext4: make local symbol ext4_initxattrs static The ext4_initxattrs symbol is used only in this file, so it should be declared static. Signed-off-by: Djalal Harouni Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext4/xattr_security.c b/fs/ext4/xattr_security.c index 34e4350dd4d9..e247f8bca8e4 100644 --- a/fs/ext4/xattr_security.c +++ b/fs/ext4/xattr_security.c @@ -48,8 +48,9 @@ ext4_xattr_security_set(struct dentry *dentry, const char *name, name, value, size, flags); } -int ext4_initxattrs(struct inode *inode, const struct xattr *xattr_array, - void *fs_info) +static int +ext4_initxattrs(struct inode *inode, const struct xattr *xattr_array, + void *fs_info) { const struct xattr *xattr; handle_t *handle = fs_info;