diff options
author | Jan Kara <jack@suse.cz> | 2021-05-24 13:17:49 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-07-13 14:29:00 +0200 |
commit | d2c292d84c4983424938f32c9c247f6ab8719769 (patch) | |
tree | bacececeaaf32c560974599d284f3ed99067a339 /fs/f2fs/super.c | |
parent | xfs: Convert to use invalidate_lock (diff) | |
download | linux-d2c292d84c4983424938f32c9c247f6ab8719769.tar.xz linux-d2c292d84c4983424938f32c9c247f6ab8719769.zip |
xfs: Convert double locking of MMAPLOCK to use VFS helpers
Convert places in XFS that take MMAPLOCK for two inodes to use helper
VFS provides for it (filemap_invalidate_down_write_two()). Note that
this changes lock ordering for MMAPLOCK from inode number based ordering
to pointer based ordering VFS generally uses.
CC: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/f2fs/super.c')
0 files changed, 0 insertions, 0 deletions