Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ceph: fix llistxattr on symlink

only regular file and directory have vxattrs.

Signed-off-by: Yan, Zheng <zyan@redhat.com>

authored by

Yan, Zheng and committed by
Sage Weil
0abb43dc dbd0c8bf

+1 -2
+1 -2
fs/ceph/xattr.c
··· 284 284 return ceph_dir_vxattrs_name_size; 285 285 if (vxattrs == ceph_file_vxattrs) 286 286 return ceph_file_vxattrs_name_size; 287 - BUG(); 288 - 287 + BUG_ON(vxattrs); 289 288 return 0; 290 289 } 291 290