summaryrefslogtreecommitdiff
path: root/fs/hfsplus/xattr_security.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2015-10-04 20:18:49 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2015-11-14 04:34:29 +0300
commite282fb7f3bce68089ae2b40c227b015c23764a38 (patch)
tree2476470f409cd162d3c7a4ea7f373c7c9d6dba59 /fs/hfsplus/xattr_security.c
parent13d3408f100186d2755d9ac1ad8b5de9e1975a92 (diff)
downloadlinux-e282fb7f3bce68089ae2b40c227b015c23764a38.tar.xz
hfsplus: Remove unused xattr handler list operations
The list operations can never be called; they are even documented to be unused. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfsplus/xattr_security.c')
-rw-r--r--fs/hfsplus/xattr_security.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/hfsplus/xattr_security.c b/fs/hfsplus/xattr_security.c
index aacff00a9ff9..024e61cc5969 100644
--- a/fs/hfsplus/xattr_security.c
+++ b/fs/hfsplus/xattr_security.c
@@ -29,16 +29,6 @@ static int hfsplus_security_setxattr(struct dentry *dentry, const char *name,
XATTR_SECURITY_PREFIX_LEN);
}
-static size_t hfsplus_security_listxattr(struct dentry *dentry, char *list,
- size_t list_size, const char *name, size_t name_len, int type)
-{
- /*
- * This method is not used.
- * It is used hfsplus_listxattr() instead of generic_listxattr().
- */
- return -EOPNOTSUPP;
-}
-
static int hfsplus_initxattrs(struct inode *inode,
const struct xattr *xattr_array,
void *fs_info)
@@ -92,7 +82,6 @@ int hfsplus_init_inode_security(struct inode *inode,
const struct xattr_handler hfsplus_xattr_security_handler = {
.prefix = XATTR_SECURITY_PREFIX,
- .list = hfsplus_security_listxattr,
.get = hfsplus_security_getxattr,
.set = hfsplus_security_setxattr,
};