diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-31 07:17:39 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 14:59:34 +0300 |
commit | 8680e58761eba8ea3552146ea005be30dfed2948 (patch) | |
tree | 384bb289a79f1b4fa49ee3820bfcde7876afd629 /fs/btrfs/zstd.c | |
parent | 723b8bb17e2e680934f59823ab1e72c1000d88d6 (diff) | |
download | linux-8680e58761eba8ea3552146ea005be30dfed2948.tar.xz |
btrfs: open code need_full_stripe conditions
need_full_stripe is just a somewhat complicated way to say
"op != BTRFS_MAP_READ". Just spell that explicit check out, which makes
a lot of the code currently using the helper easier to understand.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.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/zstd.c')
0 files changed, 0 insertions, 0 deletions