Searched refs:dchild (Results 1 – 2 of 2) sorted by relevance
/linux/fs/nfsd/ |
H A D | nfs3xdr.c | 984 struct dentry *dparent, *dchild; in compose_entry_fh() local 992 dchild = dget_parent(dparent); in compose_entry_fh() 997 if (dchild == dparent) in compose_entry_fh() 1002 dchild = dget(dparent); in compose_entry_fh() 1004 dchild = lookup_positive_unlocked(name, dparent, namlen); in compose_entry_fh() 1005 if (IS_ERR(dchild)) in compose_entry_fh() 1007 if (d_mountpoint(dchild)) in compose_entry_fh() 1009 if (dchild->d_inode->i_ino != ino) in compose_entry_fh() 1011 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh() 1013 dput(dchild); in compose_entry_fh()
|
H A D | nfsproc.c | 290 struct dentry *dchild; in nfsd_proc_create() local 315 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create() 316 if (IS_ERR(dchild)) { in nfsd_proc_create() 317 resp->status = nfserrno(PTR_ERR(dchild)); in nfsd_proc_create() 321 resp->status = fh_compose(newfhp, dirfhp->fh_export, dchild, dirfhp); in nfsd_proc_create() 322 if (!resp->status && d_really_is_negative(dchild)) in nfsd_proc_create() 324 dput(dchild); in nfsd_proc_create()
|