]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] pktcdvd: Use bd_claim to get exclusive access
authorPeter Osterlund <petero2@telia.com>
Sun, 8 Jan 2006 09:02:17 +0000 (01:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:48 +0000 (20:13 -0800)
commit8382bf2e72d16d0532e351299121ccd3bca0fdd8
tree4801ff017fdd06f34f81bf8b0ff37a716f1f6c50
parent97a41e26124330e41aa10ef88cd1711bc3d17460
[PATCH] pktcdvd: Use bd_claim to get exclusive access

Use bd_claim() when opening the cdrom device to prevent user space programs
such as cdrecord, hald and kded from interfering with the burning process.

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