summaryrefslogtreecommitdiffstats
path: root/fs/xattr.c
diff options
context:
space:
mode:
authorAl Viro2018-04-25 03:22:04 +0200
committerAl Viro2018-05-14 15:51:34 +0200
commit2220c5b0a7fb7d7d00c9a0b1e5222a7ae1f35956 (patch)
tree3f0f1f73d076ac2723b41be22ef354649df8dacc /fs/xattr.c
parentvfat: simplify checks in vfat_lookup() (diff)
downloadkernel-qcow2-linux-2220c5b0a7fb7d7d00c9a0b1e5222a7ae1f35956.tar.gz
kernel-qcow2-linux-2220c5b0a7fb7d7d00c9a0b1e5222a7ae1f35956.tar.xz
kernel-qcow2-linux-2220c5b0a7fb7d7d00c9a0b1e5222a7ae1f35956.zip
make xattr_getsecurity() static
many years overdue... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xattr.c')
-rw-r--r--fs/xattr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xattr.c b/fs/xattr.c
index 61cd28ba25f3..28e1dfc27b95 100644
--- a/fs/xattr.c
+++ b/fs/xattr.c
@@ -229,7 +229,7 @@ out:
}
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 @@ out:
out_noalloc:
return len;
}
-EXPORT_SYMBOL_GPL(xattr_getsecurity);
/*
* vfs_getxattr_alloc - allocate memory, if necessary, before calling getxattr