]> git.baikalelectronics.ru Git - kernel.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)
commitddcef9d680c402a87ccf93b8c622b8daff56bea0
tree9163ca7b347399d541ab4b543bf7097dc1e9f8ab
parent192652755c96daa32f7e73e39eb6b01e3e783aca
[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