projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd0c8b
)
ceph: fix llistxattr on symlink
author
Yan, Zheng
<zyan@redhat.com>
Thu, 18 Sep 2014 08:11:12 +0000
(16:11 +0800)
committer
Sage Weil
<sage@redhat.com>
Tue, 14 Oct 2014 19:56:48 +0000
(12:56 -0700)
only regular file and directory have vxattrs.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/xattr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/xattr.c
b/fs/ceph/xattr.c
index a87510f89ade074f802f5f3497e1de0db8b83599..19da5026c38f565fa138b5c43d68e9577ff23acc 100644
(file)
--- a/
fs/ceph/xattr.c
+++ b/
fs/ceph/xattr.c
@@
-284,8
+284,7
@@
static size_t ceph_vxattrs_name_size(struct ceph_vxattr *vxattrs)
return ceph_dir_vxattrs_name_size;
if (vxattrs == ceph_file_vxattrs)
return ceph_file_vxattrs_name_size;
- BUG();
-
+ BUG_ON(vxattrs);
return 0;
}