]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH 1/2] kill FMODE_NDELAY_NOW
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Nov 2008 13:58:42 +0000 (14:58 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 4 Dec 2008 09:22:57 +0000 (04:22 -0500)
commitfd4ce1acd0f8558033b1a6968001552bd7671e6d
tree7ce54f2b2c967fe2315917ffa2eb8eb7d47e7a2b
parentebbefc011e56bd85b4745d01e5b8d7d05d95ed5d
[PATCH 1/2] kill FMODE_NDELAY_NOW

Update FMODE_NDELAY before each ioctl call so that we can kill the
magic FMODE_NDELAY_NOW.  It would be even better to do this directly
in setfl(), but for that we'd need to have FMODE_NDELAY for all files,
not just block special files.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
block/compat_ioctl.c
drivers/scsi/sd.c
drivers/scsi/sr.c
fs/block_dev.c
include/linux/fs.h