From: Sage Weil Date: Thu, 31 Jan 2013 19:53:05 +0000 (-0800) Subject: ceph: remove 'ceph.layout' virtual xattr X-Git-Tag: upstream/snapshot3+hdmi~5334^2~24^2~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39b648d9ec7d4ab0b4362872c6284a12c582afa6;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ceph: remove 'ceph.layout' virtual xattr This has been deprecated since v3.3, 114fc474. Kill it. Signed-off-by: Sage Weil Reviewed-by: Sam Lang --- diff --git a/fs/ceph/xattr.c b/fs/ceph/xattr.c index 2c2ae5b..c2048b1 100644 --- a/fs/ceph/xattr.c +++ b/fs/ceph/xattr.c @@ -123,13 +123,6 @@ static size_t ceph_vxattrcb_file_layout(struct ceph_inode_info *ci, char *val, static struct ceph_vxattr ceph_file_vxattrs[] = { XATTR_NAME_CEPH(file, layout), - /* The following extended attribute name is deprecated */ - { - .name = XATTR_CEPH_PREFIX "layout", - .name_size = sizeof (XATTR_CEPH_PREFIX "layout"), - .getxattr_cb = ceph_vxattrcb_file_layout, - .readonly = true, - }, { 0 } /* Required table terminator */ }; static size_t ceph_file_vxattrs_name_size; /* total size of all names */