projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03af439
)
ceph: fix debug print format in __set_xattr()
author
Yan, Zheng
<zyan@redhat.com>
Mon, 27 May 2019 08:15:41 +0000
(16:15 +0800)
committer
Ilya Dryomov
<idryomov@gmail.com>
Mon, 8 Jul 2019 12:01:42 +0000
(14:01 +0200)
name is not '\0' terminated.
Signed-off-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 d2fb9f10720cf81382f50277f8d77cdf1d02f2aa..7eff619f7ac8cb353f39253dcaa5b2970f39cdbb 100644
(file)
--- a/
fs/ceph/xattr.c
+++ b/
fs/ceph/xattr.c
@@
-507,8
+507,8
@@
static int __set_xattr(struct ceph_inode_info *ci,
dout("__set_xattr_val p=%p\n", p);
}
- dout("__set_xattr_val added %llx.%llx xattr %p %s=%.*s\n",
- ceph_vinop(&ci->vfs_inode), xattr, name, val_len, val);
+ dout("__set_xattr_val added %llx.%llx xattr %p %
.*
s=%.*s\n",
+ ceph_vinop(&ci->vfs_inode), xattr, name
_len, name
, val_len, val);
return 0;
}