diff options
| author | 2020-10-14 09:55:45 -0500 | |
|---|---|---|
| committer | 2020-12-08 15:53:38 +0100 | |
| commit | aa8c1a41a1e6108aa65c359efe90711337d03a16 (patch) | |
| tree | d9f37c3e9bfd9250da86f6969e94a8dbbe3348c9 /fs/btrfs/compression.c | |
| parent | btrfs: use round_down while calculating start position in btrfs_dirty_pages() (diff) | |
| download | wireguard-linux-aa8c1a41a1e6108aa65c359efe90711337d03a16.tar.xz wireguard-linux-aa8c1a41a1e6108aa65c359efe90711337d03a16.zip | |
btrfs: set EXTENT_NORESERVE bits side btrfs_dirty_pages()
Set the extent bits EXTENT_NORESERVE inside btrfs_dirty_pages() as
opposed to calling set_extent_bits again later.
Fold check for written length within the function.
Note: EXTENT_NORESERVE is set before unlocking extents.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions
