commit | 0abb43dcacb52145aa265f82c914375d59dfe2da | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Thu Sep 18 16:11:12 2014 +0800 |
committer | Sage Weil <sage@redhat.com> | Tue Oct 14 12:56:48 2014 -0700 |
tree | ae2259f4e76425168aac32fbad69b7bd791e23ec | |
parent | dbd0c8bf79b2c73d11d47bdf2496e7ebf0948f02 [diff] [blame] |
ceph: fix llistxattr on symlink only regular file and directory have vxattrs. Signed-off-by: Yan, Zheng <zyan@redhat.com>
diff --git a/fs/ceph/xattr.c b/fs/ceph/xattr.c index a87510f..19da502 100644 --- a/fs/ceph/xattr.c +++ b/fs/ceph/xattr.c
@@ -284,8 +284,7 @@ return ceph_dir_vxattrs_name_size; if (vxattrs == ceph_file_vxattrs) return ceph_file_vxattrs_name_size; - BUG(); - + BUG_ON(vxattrs); return 0; }