From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/8] block: mark block_depr static
Date: Wed, 25 Mar 2020 12:03:31 +0100 [thread overview]
Message-ID: <20200325110338.1029232-2-hch@lst.de> (raw)
In-Reply-To: <20200325110338.1029232-1-hch@lst.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
block/genhd.c | 2 +-
include/linux/genhd.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/block/genhd.c b/block/genhd.c
index f7d60b620b97..52841f41d6eb 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -27,7 +27,7 @@
#include "blk.h"
static DEFINE_MUTEX(block_class_lock);
-struct kobject *block_depr;
+static struct kobject *block_depr;
/* for extended dynamic devt allocation, currently only one major is used */
#define NR_EXT_DEVT (1 << MINORBITS)
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index da62b44b15be..7310108f5351 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -27,7 +27,6 @@
#define part_to_dev(part) (&((part)->__dev))
extern struct device_type part_type;
-extern struct kobject *block_depr;
extern struct class block_class;
#define DISK_MAX_PARTS 256
--
2.25.1
next prev parent reply other threads:[~2020-03-25 11:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-25 11:03 decruft genhd.h Christoph Hellwig
2020-03-25 11:03 ` Christoph Hellwig [this message]
2020-03-25 11:03 ` [PATCH 2/8] block: mark part_in_flight and part_in_flight_rw static Christoph Hellwig
2020-03-25 11:03 ` [PATCH 3/8] block: unexport disk_get_part Christoph Hellwig
2020-03-25 11:03 ` [PATCH 4/8] block: unexport disk_map_sector_rcu Christoph Hellwig
2020-03-25 11:03 ` [PATCH 5/8] block: unexport get_gendisk Christoph Hellwig
2020-03-25 11:03 ` [PATCH 6/8] block: move guard_bio_eod to bio.c Christoph Hellwig
2020-03-25 11:03 ` [PATCH 7/8] block: move block layer internals out of include/linux/genhd.h Christoph Hellwig
2020-03-25 11:03 ` [PATCH 8/8] block: move the part_stat* helpers from genhd.h to a new header Christoph Hellwig
2020-03-25 15:11 ` decruft genhd.h 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=20200325110338.1029232-2-hch@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=linux-block@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
all inboxes | Powered by JetHome®