lkml.org 
[lkml]   [2004]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [Q] claimed block devices
    From
    Date
    On Thu, 2004-07-22 at 10:54, christophe.varoqui@free.fr 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.021 / U:61.624 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site