Commit 2220c5b0 authored by Al Viro's avatar Al Viro

make xattr_getsecurity() static

many years overdue...
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent f6ddc161
......@@ -229,7 +229,7 @@ vfs_setxattr(struct dentry *dentry, const char *name, const void *value,
}
EXPORT_SYMBOL_GPL(vfs_setxattr);
ssize_t
static ssize_t
xattr_getsecurity(struct inode *inode, const char *name, void *value,
size_t size)
{
......@@ -254,7 +254,6 @@ xattr_getsecurity(struct inode *inode, const char *name, void *value,
out_noalloc:
return len;
}
EXPORT_SYMBOL_GPL(xattr_getsecurity);
/*
* vfs_getxattr_alloc - allocate memory, if necessary, before calling getxattr
......
......@@ -46,7 +46,6 @@ struct xattr {
size_t value_len;
};
ssize_t xattr_getsecurity(struct inode *, const char *, void *, size_t);
ssize_t __vfs_getxattr(struct dentry *, struct inode *, const char *, void *, size_t);
ssize_t vfs_getxattr(struct dentry *, const char *, void *, size_t);
ssize_t vfs_listxattr(struct dentry *d, char *list, size_t size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment