Message ID | 201109231538.22933.hartleys@visionengravers.com |
---|---|
State | Rejected, archived |
Headers | show |
On Fri, Sep 23, 2011 at 03:38:22PM -0700, H Hartley Sweeten wrote: > Quiets the sparse noise: > > warning: symbol 'ext4_initxattrs' was not declared. Should it be static? What version of the kernel was this from? I can't find ext4_initxattrs in any kernel version that I can find in git... - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/fs/ext4/xattr_security.c b/fs/ext4/xattr_security.c index 34e4350..827fbfd 100644 --- a/fs/ext4/xattr_security.c +++ b/fs/ext4/xattr_security.c @@ -48,7 +48,7 @@ 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, +static int ext4_initxattrs(struct inode *inode, const struct xattr *xattr_array, void *fs_info) { const struct xattr *xattr;
Quiets the sparse noise: warning: symbol 'ext4_initxattrs' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: "Theodore Ts'o" <tytso@mit.edu> Cc: Andreas Dilger <adilger.kernel@dilger.ca> --- -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html