aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ordered-data.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-06-28 15:31:24 +0000
committerDavid Sterba <[email protected]>2023-08-21 12:52:14 +0000
commitef4e88e6a55babd825aed2940a72a0562f49ca7e (patch)
tree529525e08cc78632fa9278853cd12f1f6f33a8bd /fs/btrfs/ordered-data.c
parentbtrfs: don't create inline extents in fallback_to_cow (diff)
downloadkernel-ef4e88e6a55babd825aed2940a72a0562f49ca7e.tar.gz
kernel-ef4e88e6a55babd825aed2940a72a0562f49ca7e.zip
btrfs: split page locking out of __process_pages_contig
There is a lot of complexity in __process_pages_contig to deal with the PAGE_LOCK case that can return an error unlike all the other actions. Open code the page iteration for page locking in lock_delalloc_pages and remove all the now unused code from __process_pages_contig. Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/ordered-data.c')
0 files changed, 0 insertions, 0 deletions