From: Qu Wenruo Date: Thu, 24 Oct 2019 01:38:29 +0000 (+0800) Subject: btrfs: Remove btrfs_bio::flags member X-Git-Tag: Ubuntu-4.15.0-87.87~603 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bcb2682aec159d89696aa47afca0fff1f010a043;p=mirror_ubuntu-bionic-kernel.git btrfs: Remove btrfs_bio::flags member BugLink: https://bugs.launchpad.net/bugs/1857158 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 Reviewed-by: David Sterba Signed-off-by: David Sterba Signed-off-by: Greg Kroah-Hartman Signed-off-by: Kamal Mostafa Signed-off-by: Kleber Sacilotto de Souza --- diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 719a75381204..8b77fe1a44d5 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h @@ -317,7 +317,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;