]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: simplify handling of bio_ctrl::bio_flags
authorDavid Sterba <dsterba@suse.com>
Tue, 27 Jul 2021 12:47:09 +0000 (14:47 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:17:31 +0000 (17:17 +0200)
commitbde9b5b0a926541b2b7526f0064656c92adf3806
treed6d8fd1bb79255e48cd85e19e8e68e925a8a4fc6
parent2194c6cfc9500c998901bd49598655fee6cf12a7
btrfs: simplify handling of bio_ctrl::bio_flags

The bio_flags are used only to encode the compression and there are no
other EXTENT_BIO_* flags, so the compress type can be stored directly.
The struct member name is left unchanged and will be cleaned in later
patches.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c