aboutsummaryrefslogtreecommitdiffstats
path: root/fs/internal.h
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/internal.h
parentblock: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_init (diff)
downloadlinux-dev-5df1a6726973ee2444e11f16daa013971dc52e8b.tar.xz
linux-dev-5df1a6726973ee2444e11f16daa013971dc52e8b.zip
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/internal.h')
0 files changed, 0 insertions, 0 deletions