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:
parent
03af439ad9
commit
057297812d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue