Messages in this thread Patch in this message | | | Date | Thu, 16 Dec 2004 09:22:38 +0100 | From | Heiko Carstens <> | Subject | [patch 1/2] s390: z/VM monreader driver bugfix. |
| |
[patch 1/2] s390: z/VM monreader driver bugfix.
From: Gerald Schaefer <geraldsc@de.ibm.com>
- Use nonseekable_open() to disable seeking and pread()/pwrite().
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
diffstat: drivers/s390/char/monreader.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
diff -urN linux-2.6/drivers/s390/char/monreader.c linux-2.6-patched/drivers/s390/char/monreader.c --- linux-2.6/drivers/s390/char/monreader.c 2004-12-16 08:52:03.000000000 +0100 +++ linux-2.6-patched/drivers/s390/char/monreader.c 2004-12-16 08:52:23.000000000 +0100 @@ -450,7 +450,7 @@ } P_INFO("open, established connection to *MONITOR service\n\n"); filp->private_data = monpriv; - return 0; + return nonseekable_open(inode, filp); out_unregister: iucv_unregister_program(monpriv->iucv_handle); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |