diff options
author | Christoph Hellwig <[email protected]> | 2020-11-16 14:33:37 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-12-01 14:53:38 -0700 |
commit | 5df1a6726973ee2444e11f16daa013971dc52e8b (patch) | |
tree | a0f4c09471c688bfaa3e8511cef5b3d521add049 /tools/lib/api/debug.c | |
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 <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions