[PATCH] fix bogus argument of blkdev_put() in pktcdvd
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 30 Nov 2008 06:33:57 +0000 (01:33 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 4 Dec 2008 09:22:59 +0000 (04:22 -0500)
commit2cbed8906fd1f3c6cc17cdf8aac1bfad2da7960c
tree47c3761f6341054ea14523743fbbd11a8be9b6eb
parentfc9161e54d0dbf799beff9692ea1cc6237162b85
[PATCH] fix bogus argument of blkdev_put() in pktcdvd

final close of ->bdev should match the initial open, i.e.
get FMODE_READ | FMODE_NDELAY; FMODE_READ|FMODE_WRITE has
been a braino.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/block/pktcdvd.c