• Neil Brown's avatar
    [PATCH] kNFSd: Be more careful with readlock in exp_parent · c2dfcb95
    Neil Brown authored
    We currently hold a read_lock of dparent_lock
    while calling exp_get_by_name on several ancestors
    of a given dentry.  However exp_get_by_name can
    malloc(GFP_KERNEL), so that isn't a good idea.
    
    Now we only claim the lock while actually
    stepping up the parent chain.
    
    This addresses bug 29 @ bugme.osdl.org
    c2dfcb95
export.c 24.7 KB