mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 18:00:53 +07:00
ceph: clean up ceph.dir.pin vxattr name sizeof()
.name_size should use the same string as .name. Signed-off-by: David Disseldorp <ddiss@suse.de> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
13c41737b9
commit
e1b8143914
@ -327,7 +327,7 @@ static struct ceph_vxattr ceph_dir_vxattrs[] = {
|
||||
XATTR_RSTAT_FIELD(dir, rctime),
|
||||
{
|
||||
.name = "ceph.dir.pin",
|
||||
.name_size = sizeof("ceph.dir_pin"),
|
||||
.name_size = sizeof("ceph.dir.pin"),
|
||||
.getxattr_cb = ceph_vxattrcb_dir_pin,
|
||||
.exists_cb = ceph_vxattrcb_dir_pin_exists,
|
||||
.flags = VXATTR_FLAG_HIDDEN,
|
||||
|
Loading…
Reference in New Issue
Block a user