All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] drivers-block-floppyc-remove-misleading-used-once-fd_ioctl_allowed-macro.patch removed from -mm tree
@ 2010-03-15  3:55 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2010-03-15  3:55 UTC (permalink / raw)
  To: joe, bzolnier, jens.axboe, marcin.slusarz, shemminger, mm-commits


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))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-15  6:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15  3:55 [merged] drivers-block-floppyc-remove-misleading-used-once-fd_ioctl_allowed-macro.patch removed from -mm tree akpm

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.