mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 01:10:28 +00:00
ceph: fix llistxattr on symlink
only regular file and directory have vxattrs. Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
parent
dbd0c8bf79
commit
0abb43dcac
@ -284,8 +284,7 @@ static size_t ceph_vxattrs_name_size(struct ceph_vxattr *vxattrs)
|
|||||||
return ceph_dir_vxattrs_name_size;
|
return ceph_dir_vxattrs_name_size;
|
||||||
if (vxattrs == ceph_file_vxattrs)
|
if (vxattrs == ceph_file_vxattrs)
|
||||||
return ceph_file_vxattrs_name_size;
|
return ceph_file_vxattrs_name_size;
|
||||||
BUG();
|
BUG_ON(vxattrs);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user