Skip to content

Commit d36e0b6

Browse files
jtlaytonidryomov
authored andcommitted
ceph: print name of xattr in __ceph_{get,set}xattr() douts
Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
1 parent 3c80209 commit d36e0b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fs/ceph/xattr.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ ssize_t __ceph_getxattr(struct inode *inode, const char *name, void *value,
851851
req_mask = __get_request_mask(inode);
852852

853853
spin_lock(&ci->i_ceph_lock);
854-
dout("getxattr %p ver=%lld index_ver=%lld\n", inode,
854+
dout("getxattr %p name '%s' ver=%lld index_ver=%lld\n", inode, name,
855855
ci->i_xattrs.version, ci->i_xattrs.index_version);
856856

857857
if (ci->i_xattrs.version == 0 ||
@@ -1078,7 +1078,8 @@ int __ceph_setxattr(struct inode *inode, const char *name,
10781078
}
10791079
}
10801080

1081-
dout("setxattr %p issued %s\n", inode, ceph_cap_string(issued));
1081+
dout("setxattr %p name '%s' issued %s\n", inode, name,
1082+
ceph_cap_string(issued));
10821083
__build_xattrs(inode);
10831084

10841085
required_blob_size = __get_required_blob_size(ci, name_len, val_len);

0 commit comments

Comments
 (0)