]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: kill generic_*xattr calls until we implement xattr_handler
authorSage Weil <sage@newdream.net>
Thu, 1 Oct 2009 22:38:42 +0000 (15:38 -0700)
committerSage Weil <sage@newdream.net>
Thu, 1 Oct 2009 22:38:42 +0000 (15:38 -0700)
src/kernel/xattr.c

index 5fae24d31ce33799ff50c2a9a5f01a3cf788beee..23ed2e12e464d45327b89b36358dfce0dfb96f87 100644 (file)
@@ -493,8 +493,6 @@ ssize_t ceph_getxattr(struct dentry *dentry, const char *name, void *value,
        struct ceph_inode_xattr *xattr;
        struct ceph_vxattr_cb *vxattr = NULL;
 
-       if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN))
-               return generic_getxattr(dentry, name, value, size);
        if (!ceph_is_valid_xattr(name))
                return -EOPNOTSUPP;
 
@@ -695,8 +693,6 @@ int ceph_setxattr(struct dentry *dentry, const char *name,
        if (ceph_snap(inode) != CEPH_NOSNAP)
                return -EROFS;
 
-       if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN))
-               return generic_setxattr(dentry, name, value, size, flags);
        if (!ceph_is_valid_xattr(name))
                return -EOPNOTSUPP;
 
@@ -804,8 +800,6 @@ int ceph_removexattr(struct dentry *dentry, const char *name)
        if (ceph_snap(inode) != CEPH_NOSNAP)
                return -EROFS;
 
-       if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN))
-               return generic_removexattr(dentry, name);
        if (!ceph_is_valid_xattr(name))
                return -EOPNOTSUPP;