[lkml]   [2004]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Q] claimed block devices
On Thu, 2004-07-22 at 10:54, 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. :^(

David Kleikamp
IBM Linux Technology Center

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:04    [W:0.048 / U:2.852 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site