]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] pktcdvd: Only return -EROFS when appropriate
authorPeter Osterlund <petero2@telia.com>
Tue, 21 Feb 2006 02:28:04 +0000 (18:28 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Feb 2006 04:00:11 +0000 (20:00 -0800)
commit9db91546570ca1b3bc90b4c2d25d5bb74a44be24
tree9163ca7b347399d541ab4b543bf7097dc1e9f8ab
parentab863ec342cf148d02ed180b8ecf3a71a024e4be
[PATCH] pktcdvd: Only return -EROFS when appropriate

When attempting to open the device for writing, only return -EROFS if the disc
appears to be readable but not writable.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/pktcdvd.c