Subversion Repositories HelenOS

Rev

Rev 4357 | Rev 4359 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4357 Rev 4358
Line 550... Line 550...
550
    fat_bs_t *bs;
550
    fat_bs_t *bs;
551
    fat_dentry_t *d;
551
    fat_dentry_t *d;
552
    uint16_t bps;
552
    uint16_t bps;
553
    block_t *b;
553
    block_t *b;
554
 
554
 
-
 
555
    if (!parentp)
-
 
556
        return EBUSY;
-
 
557
 
555
    futex_down(&parentp->lock);
558
    futex_down(&parentp->lock);
556
    futex_down(&childp->lock);
559
    futex_down(&childp->lock);
557
    assert(childp->lnkcnt == 1);
560
    assert(childp->lnkcnt == 1);
558
    futex_down(&childp->idx->lock);
561
    futex_down(&childp->idx->lock);
559
    bs = block_bb_get(childp->idx->dev_handle);
562
    bs = block_bb_get(childp->idx->dev_handle);