From: akpm@linux-foundation.org
To: joe@perches.com, bzolnier@gmail.com, jens.axboe@oracle.com,
marcin.slusarz@gmail.com, shemminger@vyatta.com,
mm-commits@vger.kernel.org
Subject: [merged] drivers-block-floppyc-remove-misleading-used-once-fd_ioctl_allowed-macro.patch removed from -mm tree
Date: Sun, 14 Mar 2010 23:55:13 -0400 [thread overview]
Message-ID: <201003150655.o2F6tkth016167@imap1.linux-foundation.org> (raw)
The patch titled
drivers/block/floppy.c: remove misleading, used once FD_IOCTL_ALLOWED macro
has been removed from the -mm tree. Its filename was
drivers-block-floppyc-remove-misleading-used-once-fd_ioctl_allowed-macro.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: drivers/block/floppy.c: remove misleading, used once FD_IOCTL_ALLOWED macro
From: Joe Perches <joe@perches.com>
Just code the test directly
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/block/floppy.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff -puN drivers/block/floppy.c~drivers-block-floppyc-remove-misleading-used-once-fd_ioctl_allowed-macro drivers/block/floppy.c
--- a/drivers/block/floppy.c~drivers-block-floppyc-remove-misleading-used-once-fd_ioctl_allowed-macro
+++ a/drivers/block/floppy.c
@@ -3420,8 +3420,6 @@ static int fd_getgeo(struct block_device
static int fd_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd,
unsigned long param)
{
-#define FD_IOCTL_ALLOWED (mode & (FMODE_WRITE|FMODE_WRITE_IOCTL))
reply other threads:[~2010-03-15 6:55 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=201003150655.o2F6tkth016167@imap1.linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=bzolnier@gmail.com \
--cc=jens.axboe@oracle.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcin.slusarz@gmail.com \
--cc=mm-commits@vger.kernel.org \
--cc=shemminger@vyatta.com \
/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.