s390/vmlogrdr: change return value from -ENOSYS to -EOPNOTSUPP
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 6 Sep 2012 15:35:00 +0000 (17:35 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Sep 2012 13:45:16 +0000 (15:45 +0200)
commit745e967a49b26725cc9f30105ff67c8fee8926d6
tree999dfea410ee7a6f8cfea16a7b0b5d7866462524
parenta11b2ef7bb69136dfac2d6367574151223ee7712
s390/vmlogrdr: change return value from -ENOSYS to -EOPNOTSUPP

Changing the return value of vmlogrdr_open() to -EOPNOTSUPP if O_NONBLOCK
is specified shouldn't have any negative side effects.
Any existing user wouldn't specify that flag since it wouldn't work anyway.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/vmlogrdr.c