* [patch 8/8] s390: use nonseekable_open in z/VM log reader.
@ 2005-01-14 18:56 Martin Schwidefsky
0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2005-01-14 18:56 UTC (permalink / raw)
To: akpm, linux-kernel
[patch 8/8] s390: use nonseekable_open in z/VM log reader.
From: Stefan Bader <shbader@de.ibm.com>
Disable seek on z/VM log reader misc device by using
nonseekable_open().
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
diffstat:
drivers/s390/char/vmlogrdr.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -urN linux-2.6/drivers/s390/char/vmlogrdr.c linux-2.6-patched/drivers/s390/char/vmlogrdr.c
--- linux-2.6/drivers/s390/char/vmlogrdr.c 2004-12-24 22:35:23.000000000 +0100
+++ linux-2.6-patched/drivers/s390/char/vmlogrdr.c 2005-01-14 19:45:22.000000000 +0100
@@ -403,7 +403,7 @@
goto not_connected;
}
- return 0;
+ return nonseekable_open(inode, filp);
not_connected:
iucv_unregister_program(logptr->iucv_handle);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-14 19:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-14 18:56 [patch 8/8] s390: use nonseekable_open in z/VM log reader Martin Schwidefsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®