diff options
author | Christoph Hellwig <hch@lst.de> | 2023-06-28 17:31:24 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-08-21 14:52:14 +0200 |
commit | ef4e88e6a55babd825aed2940a72a0562f49ca7e (patch) | |
tree | 529525e08cc78632fa9278853cd12f1f6f33a8bd /fs/btrfs/btrfs_inode.h | |
parent | 53ffb30a784d30db4d4cd074b4da46fa2472ab60 (diff) |
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 <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions