diff mbox series

[1/2] btrfs: remove unused btrfs_device::flush_bio_sent

Message ID e81ad9bab030f1b4dbde91b6b0f5ef9caee42ab4.1564681931.git.dsterba@suse.com (mailing list archive)
State New, archived
Headers show
Series Unused code cleanups | expand

Commit Message

David Sterba Aug. 1, 2019, 5:53 p.m. UTC
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.

Signed-off-by: David Sterba <dsterba@suse.com>
---
 fs/btrfs/volumes.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Anand Jain Aug. 2, 2019, 3:38 a.m. UTC | #1
On 8/2/19 1:53 AM, David Sterba wrote:
> 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.
> 
> Signed-off-by: David Sterba <dsterba@suse.com>

oops my bad.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
diff mbox series

Patch

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;