projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13c4173
)
ceph: clean up ceph.dir.pin vxattr name sizeof()
author
David Disseldorp
<ddiss@suse.de>
Thu, 18 Apr 2019 12:15:45 +0000
(14:15 +0200)
committer
Ilya Dryomov
<idryomov@gmail.com>
Mon, 8 Jul 2019 12:01:40 +0000
(14:01 +0200)
.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>
fs/ceph/xattr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/xattr.c
b/fs/ceph/xattr.c
index 0cc42c8879e9a0c266405100a13b474489e91b32..2cbb9c239183839212b654ebe689b5a7d8a36d35 100644
(file)
--- a/
fs/ceph/xattr.c
+++ b/
fs/ceph/xattr.c
@@
-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,