From: John Pittman <jpittman@redhat.com>
To: axboe@fb.com
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
jpittman@redhat.com
Subject: [PATCH] Include: block: blk_types: Removed unneeded union from bio struct
Date: Tue, 23 Aug 2016 14:59:04 -0400 [thread overview]
Message-ID: <1471978744-6632-1-git-send-email-jpittman@redhat.com> (raw)
In include/linux/blk_types.h a nameless, single member
union exists within the bio struct. It seems to be left
over from earlier, edited patches added in 3.18. Cleaned
up by removing the union and the tab given to its contents.
Signed-off-by: John Pittman <jpittman@redhat.com>
---
include/linux/blk_types.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 436f43f..972ace4 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -61,11 +61,10 @@ struct bio {
struct io_context *bi_ioc;
struct cgroup_subsys_state *bi_css;
#endif
- union {
+
#if defined(CONFIG_BLK_DEV_INTEGRITY)
- struct bio_integrity_payload *bi_integrity; /* data integrity */
+ struct bio_integrity_payload *bi_integrity; /* data integrity */
#endif
- };
unsigned short bi_vcnt; /* how many bio_vec's */
--
2.5.5
reply other threads:[~2016-08-23 18:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1471978744-6632-1-git-send-email-jpittman@redhat.com \
--to=jpittman@redhat.com \
--cc=axboe@fb.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome