Re: [Q] claimed block devices

From: Dave Kleikamp
Date: Thu Jul 22 2004 - 15:45:11 EST


On Thu, 2004-07-22 at 10:54, christophe.varoqui@xxxxxxx wrote:
> if I read fs/block_dev.c correctly, O_EXCL will always fail on block device.

In blkdev_open()? If O_EXCL is set, the result will depend on whether
or not bd_claim() succeeds.

> I would also like to use the lock owner information ... which seems even more
> tricky.

I don't have any suggestions here. :^(

Shaggy
--
David Kleikamp
IBM Linux Technology Center

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/