Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0abb43dc authored by Yan, Zheng's avatar Yan, Zheng Committed by Sage Weil
Browse files

ceph: fix llistxattr on symlink



only regular file and directory have vxattrs.

Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent dbd0c8bf
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
}