s390/tape: fix MTIOCGET ioctl to report blocksize
authorStefan Haberland <stefan.haberland@de.ibm.com>
Tue, 16 Sep 2014 09:02:24 +0000 (11:02 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 25 Sep 2014 08:52:03 +0000 (10:52 +0200)
commit9fc98ad0d2bf3cd71772d1bda75e7a8b4dce261b
tree5e1c51e0f4fbe599dbc9f9dc496bbc45c3e4724e
parent8f933b1043e1e51f4776fc1ffe86752c7785fd4e
s390/tape: fix MTIOCGET ioctl to report blocksize

Remove tape_state from status register and report the drive's current
setting for block size instead as known from other tapes.
Density is not supported so nothing to report here.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/tape_char.c