btrfs: remove unused btrfs_device::flush_bio_sent
authorDavid Sterba <dsterba@suse.com>
Thu, 1 Aug 2019 17:53:02 +0000 (19:53 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:02 +0000 (14:59 +0200)
The status of flush bio is tracked as a status bit, changed in commit
1c3063b6dbfa ("btrfs: cleanup device states define
BTRFS_DEV_STATE_FLUSH_SENT"), the flush_bio_sent was forgotten.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.h

index c71354fe1363d1c4384ad4d1fdef4eb0a07aea3f..081cb734a239ef62848a7daa6a31a209033807c3 100644 (file)
@@ -82,7 +82,6 @@ struct btrfs_device {
 
        unsigned long dev_state;
        blk_status_t last_flush_error;
-       int flush_bio_sent;
 
 #ifdef __BTRFS_NEED_DEVICE_DATA_ORDERED
        seqcount_t data_seqcount;