mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ static struct ceph_vxattr ceph_dir_vxattrs[] = {
|
||||||
XATTR_RSTAT_FIELD(dir, rctime),
|
XATTR_RSTAT_FIELD(dir, rctime),
|
||||||
{
|
{
|
||||||
.name = "ceph.dir.pin",
|
.name = "ceph.dir.pin",
|
||||||
.name_size = sizeof("ceph.dir_pin"),
|
.name_size = sizeof("ceph.dir.pin"),
|
||||||
.getxattr_cb = ceph_vxattrcb_dir_pin,
|
.getxattr_cb = ceph_vxattrcb_dir_pin,
|
||||||
.exists_cb = ceph_vxattrcb_dir_pin_exists,
|
.exists_cb = ceph_vxattrcb_dir_pin_exists,
|
||||||
.flags = VXATTR_FLAG_HIDDEN,
|
.flags = VXATTR_FLAG_HIDDEN,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue