diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2015-10-04 19:18:49 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-11-14 02:34:29 +0100 |
commit | e282fb7f3bce68089ae2b40c227b015c23764a38 (patch) | |
tree | 2476470f409cd162d3c7a4ea7f373c7c9d6dba59 /fs/hfsplus/xattr_user.c | |
parent | ubifs: Remove unused security xattr handler (diff) | |
download | linux-e282fb7f3bce68089ae2b40c227b015c23764a38.tar.xz linux-e282fb7f3bce68089ae2b40c227b015c23764a38.zip |
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_user.c')
-rw-r--r-- | fs/hfsplus/xattr_user.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/hfsplus/xattr_user.c b/fs/hfsplus/xattr_user.c index 5aa0e6dc4a1e..3b4caba0b39d 100644 --- a/fs/hfsplus/xattr_user.c +++ b/fs/hfsplus/xattr_user.c @@ -26,19 +26,8 @@ static int hfsplus_user_setxattr(struct dentry *dentry, const char *name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); } -static size_t hfsplus_user_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; -} - const struct xattr_handler hfsplus_xattr_user_handler = { .prefix = XATTR_USER_PREFIX, - .list = hfsplus_user_listxattr, .get = hfsplus_user_getxattr, .set = hfsplus_user_setxattr, }; |