ceph: switch netfs read ops to use rreq->inode instead of rreq->mapping->host
authorJeff Layton <jlayton@kernel.org>
Mon, 17 Jan 2022 19:32:12 +0000 (14:32 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 1 Mar 2022 17:26:36 +0000 (18:26 +0100)
commita25cedb4313d35e1f2968105678a47ca28e84d3b
tree5f5db3f5a6756d9b8dba97c078c064a55e66c9fa
parent7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3
ceph: switch netfs read ops to use rreq->inode instead of rreq->mapping->host

One fewer pointer dereference, and in the future we may not be able to
count on the mapping pointer being populated (e.g. in the DIO case).

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c