]> Pileus Git - ~andy/linux/commitdiff
ceph: remove 'ceph.layout' virtual xattr
authorSage Weil <sage@inktank.com>
Thu, 31 Jan 2013 19:53:05 +0000 (11:53 -0800)
committerSage Weil <sage@inktank.com>
Thu, 14 Feb 2013 02:25:43 +0000 (18:25 -0800)
This has been deprecated since v3.3, 114fc474.  Kill it.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Sam Lang <sam.lang@inktank.com>
fs/ceph/xattr.c

index 2c2ae5be99027af909d30a65cb73706a7c0d193a..c2048b1a53957f84504232e43ffa9666470e42e9 100644 (file)
@@ -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 */