mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
_nfs42_proc_copy(): use ->f_mapping instead of file_inode()->i_mapping
Reviewed-by: Christian Brauner (Microsoft) <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
1 parent
ff58105a47
commit
265a04b076
1 file changed
+1
-1
+1
-1
@@ -336,7 +336,7 @@ static ssize_t _nfs42_proc_copy(struct file *src,
|
||||
return status;
|
||||
}
|
||||
}
|
||||
status = nfs_filemap_write_and_wait_range(file_inode(src)->i_mapping,
|
||||
status = nfs_filemap_write_and_wait_range(src->f_mapping,
|
||||
pos_src, pos_src + (loff_t)count - 1);
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
Reference in new issue
Block a user