Skip to content

Commit 5ab5805

Browse files
josefbacikkdave
authored andcommitted
btrfs: drop the -EBUSY case in __extent_writepage_io
Now that we only return 0 or -EAGAIN from btrfs_writepage_cow_fixup, we do not need this -EBUSY case. Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent 25f3c50 commit 5ab5805

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

fs/btrfs/extent_io.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3442,11 +3442,7 @@ static noinline_for_stack int __extent_writepage_io(struct inode *inode,
34423442
ret = btrfs_writepage_cow_fixup(page, start, page_end);
34433443
if (ret) {
34443444
/* Fixup worker will requeue */
3445-
if (ret == -EBUSY)
3446-
wbc->pages_skipped++;
3447-
else
3448-
redirty_page_for_writepage(wbc, page);
3449-
3445+
redirty_page_for_writepage(wbc, page);
34503446
update_nr_written(wbc, nr_written);
34513447
unlock_page(page);
34523448
return 1;

0 commit comments

Comments
 (0)