Home
last modified time | relevance | path

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

/Linux-v5.10/fs/afs/
Ddir_silly.c102 struct dentry *sdentry = NULL; in afs_sillyrename() local
112 sdentry = NULL; in afs_sillyrename()
116 dput(sdentry); in afs_sillyrename()
123 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in afs_sillyrename()
128 if (IS_ERR(sdentry)) in afs_sillyrename()
130 } while (!d_is_negative(sdentry)); in afs_sillyrename()
134 ret = afs_do_silly_rename(dvnode, vnode, dentry, sdentry, key); in afs_sillyrename()
139 d_move(dentry, sdentry); in afs_sillyrename()
146 d_drop(sdentry); in afs_sillyrename()
150 dput(sdentry); in afs_sillyrename()
/Linux-v5.10/fs/nfs/
Dunlink.c436 struct dentry *sdentry; in nfs_sillyrename() local
453 sdentry = NULL; in nfs_sillyrename()
456 dput(sdentry); in nfs_sillyrename()
466 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
471 if (IS_ERR(sdentry)) in nfs_sillyrename()
473 } while (d_inode(sdentry) != NULL); /* need negative lookup */ in nfs_sillyrename()
480 error = nfs_async_unlink(dentry, &sdentry->d_name); in nfs_sillyrename()
485 task = nfs_async_rename(dir, dir, dentry, sdentry, in nfs_sillyrename()
507 d_move(dentry, sdentry); in nfs_sillyrename()
513 d_drop(sdentry); in nfs_sillyrename()
[all …]