Home
last modified time | relevance | path

Searched refs:sdentry (Results 1 – 2 of 2) sorted by relevance

/fs/afs/
Ddir_silly.c104 struct dentry *sdentry = NULL; in afs_sillyrename() local
114 sdentry = NULL; in afs_sillyrename()
118 dput(sdentry); in afs_sillyrename()
125 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in afs_sillyrename()
130 if (IS_ERR(sdentry)) in afs_sillyrename()
132 } while (!d_is_negative(sdentry)); in afs_sillyrename()
136 ret = afs_do_silly_rename(dvnode, vnode, dentry, sdentry, key); in afs_sillyrename()
141 d_move(dentry, sdentry); in afs_sillyrename()
148 d_drop(sdentry); in afs_sillyrename()
152 dput(sdentry); in afs_sillyrename()
/fs/nfs/
Dunlink.c444 struct dentry *sdentry; in nfs_sillyrename() local
461 sdentry = NULL; in nfs_sillyrename()
464 dput(sdentry); in nfs_sillyrename()
474 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
479 if (IS_ERR(sdentry)) in nfs_sillyrename()
481 } while (d_inode(sdentry) != NULL); /* need negative lookup */ in nfs_sillyrename()
488 error = nfs_async_unlink(dentry, &sdentry->d_name); in nfs_sillyrename()
493 task = nfs_async_rename(dir, dir, dentry, sdentry, in nfs_sillyrename()
515 d_move(dentry, sdentry); in nfs_sillyrename()
521 d_drop(sdentry); in nfs_sillyrename()
[all …]