mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-15 21:21:49 -04:00
ceph: fix debug print format in __set_xattr()
name is not '\0' terminated. Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user