All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: axboe@kernel.dk
Cc: linux-block@vger.kernel.org
Subject: [PATCH 1/3] block: unexport blkdev_ioctl
Date: Tue, 12 Oct 2021 12:44:48 +0200	[thread overview]
Message-ID: <20211012104450.659013-2-hch@lst.de> (raw)
In-Reply-To: <20211012104450.659013-1-hch@lst.de>

With the raw driver gone, there is no modular user left.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 block/ioctl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/block/ioctl.c b/block/ioctl.c
index eb0491e90b9a0..0f823444cc557 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -588,7 +588,6 @@ int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd,
 		return -ENOTTY;
 	return bdev->bd_disk->fops->ioctl(bdev, mode, cmd, arg);
 }
-EXPORT_SYMBOL_GPL(blkdev_ioctl); /* for /dev/raw */
 
 #ifdef CONFIG_COMPAT
 
-- 
2.30.2


  reply	other threads:[~2021-10-12 10:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-12 10:44 small block layer ioctl cleanups Christoph Hellwig
2021-10-12 10:44 ` Christoph Hellwig [this message]
2021-10-12 10:44 ` [PATCH 2/3] block: move the *blkdev_ioctl declarations out of blkdev.h Christoph Hellwig
2021-10-12 10:44 ` [PATCH 3/3] block: merge block_ioctl into blkdev_ioctl Christoph Hellwig
2021-10-12 14:54 ` small block layer ioctl 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=20211012104450.659013-2-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.