Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
032ac32c
Commit
032ac32c
authored
3 years ago
by
Kent Overstreet
Committed by
Kent Overstreet
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: Fix .splice_write
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
53ef2c5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
fs/bcachefs/fs-io.c
fs/bcachefs/fs-io.c
+1
-2
No files found.
fs/bcachefs/fs-io.c
View file @
032ac32c
...
@@ -1918,8 +1918,7 @@ static long bch2_dio_write_loop(struct dio_write *dio)
...
@@ -1918,8 +1918,7 @@ static long bch2_dio_write_loop(struct dio_write *dio)
i_size_write
(
&
inode
->
v
,
req
->
ki_pos
);
i_size_write
(
&
inode
->
v
,
req
->
ki_pos
);
spin_unlock
(
&
inode
->
v
.
i_lock
);
spin_unlock
(
&
inode
->
v
.
i_lock
);
bio_for_each_segment_all
(
bv
,
bio
,
iter
)
bio_release_pages
(
bio
,
false
);
put_page
(
bv
->
bv_page
);
if
(
dio
->
op
.
error
)
{
if
(
dio
->
op
.
error
)
{
set_bit
(
EI_INODE_ERROR
,
&
inode
->
ei_flags
);
set_bit
(
EI_INODE_ERROR
,
&
inode
->
ei_flags
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment