btrfs: remove the sync_io flag in struct btrfs_bio_ctrl
authorChristoph Hellwig <hch@lst.de>
Mon, 27 Feb 2023 15:16:56 +0000 (08:16 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:15 +0000 (18:01 +0200)
commit794c26e214abf29f1b863917c7c80ee5c1d8d719
tree58e61b32b941168c26f33120935295c07dd751ff
parentc000bc04bad42dbe86e705828c9a328f4052ff21
btrfs: remove the sync_io flag in struct btrfs_bio_ctrl

The sync_io flag is equivalent to wbc->sync_mode == WB_SYNC_ALL, so
just check for that and remove the separate flag.

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>
fs/btrfs/extent_io.c