aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-08-01 19:53:02 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:02 +0200
commitadf4c0c53a987205b95513a160c11b9600e31220 (patch)
tree5fa0a6294c313034784a1469f84f6eef49794320
parentBtrfs: remove unnecessary condition in btrfs_clone() to avoid too much nesting (diff)
downloadlinux-dev-adf4c0c53a987205b95513a160c11b9600e31220.tar.xz
linux-dev-adf4c0c53a987205b95513a160c11b9600e31220.zip
btrfs: remove unused btrfs_device::flush_bio_sent
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>
-rw-r--r--fs/btrfs/volumes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index c71354fe1363..081cb734a239 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -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;