]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] tape: Compression overwrites crypto setting
authorMichael Holzheu <holzheu@de.ibm.com>
Mon, 5 Mar 2007 22:35:47 +0000 (23:35 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 5 Mar 2007 22:35:47 +0000 (23:35 +0100)
commit4925c7e22293dbf2b85351e8c2323ad8282396b3
treefa89ef269630ce6e5cb928ce7e681f2bd55d327b
parent9c9c17613a78545a4a93b1370924f62eb282c903
[S390] tape: Compression overwrites crypto setting

After switching compression on/off with the mt command, tape encryption is no
longer working. The reason for that is, that the modeset_byte is set to
the compression value instead of using bitwise and/or bit operations to
enable/disable the corresponding bit.

Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/tape_std.c