Commit df8ede40 authored by Stefan Bader's avatar Stefan Bader Committed by Linus Torvalds

[PATCH] s390: use nonseekable_open in z/VM log reader

Disable seek on z/VM log reader misc device by using nonseekable_open().
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 26fdede0
...@@ -403,7 +403,7 @@ vmlogrdr_open (struct inode *inode, struct file *filp) ...@@ -403,7 +403,7 @@ vmlogrdr_open (struct inode *inode, struct file *filp)
goto not_connected; goto not_connected;
} }
return 0; return nonseekable_open(inode, filp);
not_connected: not_connected:
iucv_unregister_program(logptr->iucv_handle); iucv_unregister_program(logptr->iucv_handle);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment