summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorDavid Disseldorp2019-04-18 14:15:49 +0200
committerIlya Dryomov2019-07-08 14:01:41 +0200
commitd0f191d20c1ce22ccfd7c8e2327f19fbba7f7521 (patch)
treea0eb0b9ccb1f21768b00ef35de06d5d7780844dc /fs/ceph/super.h
parentceph: fix listxattr vxattr buffer length calculation (diff)
downloadkernel-qcow2-linux-d0f191d20c1ce22ccfd7c8e2327f19fbba7f7521.tar.gz
kernel-qcow2-linux-d0f191d20c1ce22ccfd7c8e2327f19fbba7f7521.tar.xz
kernel-qcow2-linux-d0f191d20c1ce22ccfd7c8e2327f19fbba7f7521.zip
ceph: remove unused vxattr length helpers
ceph_listxattr() now calculates the length of vxattrs dynamically, so these helpers, which incorrectly ignore vxattr.exists_cb(), can be removed. Signed-off-by: David Disseldorp <ddiss@suse.de> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 1de6b1f4f094..7209548527ab 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -922,8 +922,6 @@ ssize_t __ceph_getxattr(struct inode *, const char *, void *, size_t);
extern ssize_t ceph_listxattr(struct dentry *, char *, size_t);
extern void __ceph_build_xattrs_blob(struct ceph_inode_info *ci);
extern void __ceph_destroy_xattrs(struct ceph_inode_info *ci);
-extern void __init ceph_xattr_init(void);
-extern void ceph_xattr_exit(void);
extern const struct xattr_handler *ceph_xattr_handlers[];
#ifdef CONFIG_SECURITY