From: Christoph Hellwig <hch@lst.de>
To: axboe@kernel.dk
Cc: linux-block@vger.kernel.org
Subject: [PATCH 3/7] block: remove an outdated comment on the bd_dev field
Date: Mon, 31 Aug 2020 20:02:35 +0200 [thread overview]
Message-ID: <20200831180239.2372776-4-hch@lst.de> (raw)
In-Reply-To: <20200831180239.2372776-1-hch@lst.de>
kdev_t is long gone, so we don't need to comment a field isn't one..
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
include/linux/blk_types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 63a39e47fc6047..59d9150165c490 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -20,7 +20,7 @@ typedef void (bio_end_io_t) (struct bio *);
struct bio_crypt_ctx;
struct block_device {
- dev_t bd_dev; /* not a kdev_t - it's a search key */
+ dev_t bd_dev;
int bd_openers;
struct inode * bd_inode; /* will die */
struct super_block * bd_super;
--
2.28.0
next prev parent reply other threads:[~2020-08-31 18:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-31 18:02 misc cleanups Christoph Hellwig
2020-08-31 18:02 ` [PATCH 1/7] block: remove the alignment_offset field from struct hd_struct Christoph Hellwig
2020-08-31 18:02 ` [PATCH 2/7] block: remove the discard_alignment " Christoph Hellwig
2020-08-31 18:02 ` Christoph Hellwig [this message]
2020-08-31 18:02 ` [PATCH 4/7] block: move the devcgroup_inode_permission call to blkdev_get Christoph Hellwig
2020-08-31 18:02 ` [PATCH 5/7] block: cleanup __alloc_disk_node Christoph Hellwig
2020-08-31 18:02 ` [PATCH 6/7] block: remove the disk argument to delete_partition Christoph Hellwig
2020-08-31 18:02 ` [PATCH 7/7] block: remove the unused q argument to part_in_flight and part_in_flight_rw Christoph Hellwig
2020-09-01 15:12 ` misc cleanups Jens Axboe
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=20200831180239.2372776-4-hch@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=linux-block@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.