]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67e64d53df8e5a4f23ced473cc2b6fc91c54321b
treed9d6dc21aca9736182d1498eeae507678e052f27
parentbf96243dc89c5da396b84f5d67309d27aee08455
ceph: switch netfs read ops to use rreq->inode instead of rreq->mapping->host

[ Upstream commit b2e1ccb5d30681ebd9e3e62a4c81f81eca4ebaa6 ]

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