btrfs: Remove btrfs_bio::flags member
authorQu Wenruo <wqu@suse.com>
Thu, 24 Oct 2019 01:38:29 +0000 (09:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Dec 2019 09:41:57 +0000 (10:41 +0100)
commit 34b127aecd4fe8e6a3903e10f204a7b7ffddca22 upstream.

The last user of btrfs_bio::flags was removed in commit 326e1dbb5736
("block: remove management of bi_remaining when restoring original
bi_end_io"), remove it.

(Tagged for stable as the structure is heavily used and space savings
are desirable.)

CC: stable@vger.kernel.org # 4.4+
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/volumes.h

index 663d66828cca9f43aad990d29c927cf98a484917..96c1b847def6031b0b6d53545b1e9dc40c834899 100644 (file)
@@ -312,7 +312,6 @@ struct btrfs_bio {
        u64 map_type; /* get from map_lookup->type */
        bio_end_io_t *end_io;
        struct bio *orig_bio;
-       unsigned long flags;
        void *private;
        atomic_t error;
        int max_errors;