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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Jul 2022 19:24:30 +0000 (21:24 +0200)
commit5464c8987ddfab587e14c00030a633c803b13d98
treed9d6dc21aca9736182d1498eeae507678e052f27
parent58d93e9d160c0de6d867c7eb4c2206671a351eb1
ceph: switch netfs read ops to use rreq->inode instead of rreq->mapping->host

[ Upstream commit a25cedb4313d35e1f2968105678a47ca28e84d3b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ceph/addr.c