From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas Krause Date: Tue, 23 Jun 2015 19:48:51 -0400 Subject: [Ocfs2-devel] [PATCH] ocfs2:Make the function ocfs2_initxattrs static Message-ID: <1435103331-16407-1-git-send-email-xerofoify@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ocfs2-devel@oss.oracle.com This makes the function ocfs2_initxattrs static now due to this function's only caller being in its own declaration and definition file of xattr.c. Signed-off-by: Nicholas Krause --- fs/ocfs2/xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c index d03bfbf..889f379 100644 --- a/fs/ocfs2/xattr.c +++ b/fs/ocfs2/xattr.c @@ -7271,7 +7271,7 @@ static int ocfs2_xattr_security_set(struct dentry *dentry, const char *name, name, value, size, flags); } -int ocfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array, +static int ocfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array, void *fs_info) { const struct xattr *xattr; -- 2.1.4