ceph: print dentry offset in hex and fix xattr_version type
authorXiubo Li <xiubli@redhat.com>
Thu, 19 Dec 2019 02:15:18 +0000 (21:15 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 27 Jan 2020 15:53:39 +0000 (16:53 +0100)
commit0eb308531f0776fc87f7a7eb4a8efe943d98ab8c
tree4bc54c060f273ee93fd3c8946facb2f06a3bf77e
parent9f8b72b3a9485d659410989c6daf5467ebe264ea
ceph: print dentry offset in hex and fix xattr_version type

In the debug logs about the di->offset or ctx->pos it is in hex
format, but some others are using the dec format. It is a little
hard to read.

For the xattr version, it is u64 type, using a shorter type may
truncate it.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/dir.c
fs/ceph/xattr.c