| From a74cad1bcceba43a85dcbae51c184e9d709cfc7d Mon Sep 17 00:00:00 2001 |
| From: Qu Wenruo <wqu@suse.com> |
| Date: Thu, 24 Oct 2019 09:38:29 +0800 |
| Subject: [PATCH] btrfs: Remove btrfs_bio::flags member |
| |
| 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: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h |
| index 136a3eb64604..c0e93ab55501 100644 |
| --- a/fs/btrfs/volumes.h |
| +++ b/fs/btrfs/volumes.h |
| @@ -311,7 +311,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; |
| -- |
| 2.7.4 |
| |