projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff58105
)
_nfs42_proc_copy(): use ->f_mapping instead of file_inode()->i_mapping
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 20 Aug 2022 17:12:02 +0000
(13:12 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 1 Sep 2022 21:45:36 +0000
(17:45 -0400)
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/nfs42proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs42proc.c
b/fs/nfs/nfs42proc.c
index 068c45b3bc1ab19593441cc5b336e5e50a5e4322..542502199005fdbd2b15a58928406d9afa7e8881 100644
(file)
--- a/
fs/nfs/nfs42proc.c
+++ b/
fs/nfs/nfs42proc.c
@@
-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;