diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-16 14:33:37 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-01 14:53:38 -0700 |
commit | 5df1a6726973ee2444e11f16daa013971dc52e8b (patch) | |
tree | a0f4c09471c688bfaa3e8511cef5b3d521add049 /fs | |
parent | 5a20d073ec54a72d9a732fa44bfe14954eb6332f (diff) |
filemap: consistently use ->f_mapping over ->i_mapping
Use file->f_mapping in all remaining places that have a struct file
available to properly handle the case where inode->i_mapping !=
file_inode(file)->i_mapping.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions