]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Specify lockmode when calling xfs_ilock_for_iomap()
authorStefan Roesch <shr@fb.com>
Thu, 23 Jun 2022 17:51:56 +0000 (10:51 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:32 +0000 (18:39 -0600)
commit9ee6e80a5ae3dec1c292befe23d74d43d62894ee
treece96719b0f51ba761259dbd0cfd2b8b6c568ae9c
parentbec8f567e4218423c666550ebf8de65d9a55bdbc
xfs: Specify lockmode when calling xfs_ilock_for_iomap()

This patch changes the helper function xfs_ilock_for_iomap such that the
lock mode must be passed in.

Signed-off-by: Stefan Roesch <shr@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20220623175157.1715274-14-shr@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/xfs/xfs_iomap.c