projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53ef2c5
)
bcachefs: Fix .splice_write
author
Kent Overstreet
<kent.overstreet@gmail.com>
Tue, 27 Apr 2021 18:18:22 +0000
(14:18 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:51 +0000
(17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-io.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/fs-io.c
b/fs/bcachefs/fs-io.c
index d48aa5b31e7bbbc3fad03443005764b71d888695..5dd985e20c7f8eed3c68b68baab168fcad0db173 100644
(file)
--- a/
fs/bcachefs/fs-io.c
+++ b/
fs/bcachefs/fs-io.c
@@
-1918,8
+1918,7
@@
loop:
i_size_write(&inode->v, req->ki_pos);
spin_unlock(&inode->v.i_lock);
- bio_for_each_segment_all(bv, bio, iter)
- put_page(bv->bv_page);
+ bio_release_pages(bio, false);
if (dio->op.error) {
set_bit(EI_INODE_ERROR, &inode->ei_flags);