• Andrew Morton's avatar
    [PATCH] kNFSd: Change fh_compose to NOT consume a reference to the dentry. · a1de7361
    Andrew Morton authored
    From: NeilBrown <neilb@cse.unsw.edu.au>
    
    fh_compose currently consumes a reference to the dentry but not the export
    point.  This is both inconsistent and confusing.
    
    It is better if a routine like this doesn't consume reference points, so with
    this patch, it doesn't.  This fixes a couple of very subtle and unusual
    reference counting errors.
    a1de7361
vfs.c 38.5 KB