summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-16 14:33:37 +0100
committerJens Axboe <axboe@kernel.dk>2020-12-01 14:53:38 -0700
commit5df1a6726973ee2444e11f16daa013971dc52e8b (patch)
treea0f4c09471c688bfaa3e8511cef5b3d521add049 /fs/super.c
parent5a20d073ec54a72d9a732fa44bfe14954eb6332f (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/super.c')
0 files changed, 0 insertions, 0 deletions