diff options
author | Jeff Layton <jlayton@kernel.org> | 2021-09-02 09:12:35 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2021-11-08 03:29:51 +0100 |
commit | 6407fbb9c3cb5b89361ca95afc62090b933c3fb5 (patch) | |
tree | 1447f38fa63e657cdfafb271be26671234dd3589 /fs/ceph/file.c | |
parent | f7a67b463fb83a4b9b11ceaa8ec4950b8fb7f902 (diff) | |
download | linux-6407fbb9c3cb5b89361ca95afc62090b933c3fb5.tar.gz linux-6407fbb9c3cb5b89361ca95afc62090b933c3fb5.tar.bz2 linux-6407fbb9c3cb5b89361ca95afc62090b933c3fb5.zip |
ceph: print inode numbers instead of pointer values
We have a lot of log messages that print inode pointer values. This is
of dubious utility. Switch a random assortment of the ones I've found
most useful to use ceph_vinop to print the snap:inum tuple instead.
[ idryomov: use . as a separator, break unnecessarily long lines ]
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/file.c')
-rw-r--r-- | fs/ceph/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c index e61018d9764e..b18dd403aa38 100644 --- a/fs/ceph/file.c +++ b/fs/ceph/file.c @@ -556,7 +556,7 @@ static void ceph_async_create_cb(struct ceph_mds_client *mdsc, } ceph_kick_flushing_inode_caps(req->r_session, ci); spin_unlock(&ci->i_ceph_lock); - } else { + } else if (!result) { pr_warn("%s: no req->r_target_inode for 0x%llx\n", __func__, req->r_deleg_ino); } |