projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc1bb41
)
fuse_fill_write_pages(): don't bother with iov_iter_single_seg_count()
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 3 Jun 2021 14:34:55 +0000
(10:34 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 3 Jun 2021 14:34:55 +0000
(10:34 -0400)
another rudiment of fault-in originally having been limited to the
first segment, same as in generic_perform_write() and friends.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fuse/file.c
patch
|
blob
|
history
diff --git
a/fs/fuse/file.c
b/fs/fuse/file.c
index 09ef2a4d25edc8b42d8d0ced0d6f5b59973f0a4a..44bd301fa4fbe09ace5ae358c38b713ea2de197c 100644
(file)
--- a/
fs/fuse/file.c
+++ b/
fs/fuse/file.c
@@
-1178,7
+1178,6
@@
static ssize_t fuse_fill_write_pages(struct fuse_io_args *ia,
if (!tmp) {
unlock_page(page);
put_page(page);
- bytes = min(bytes, iov_iter_single_seg_count(ii));
goto again;
}