Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/fs/nfs/
Dunlink.c446 struct dentry *sdentry; in nfs_sillyrename() local
463 sdentry = NULL; in nfs_sillyrename()
466 dput(sdentry); in nfs_sillyrename()
476 sdentry = lookup_one_len(silly, dentry->d_parent, slen); in nfs_sillyrename()
481 if (IS_ERR(sdentry)) in nfs_sillyrename()
483 } while (d_inode(sdentry) != NULL); /* need negative lookup */ in nfs_sillyrename()
490 error = nfs_async_unlink(dentry, &sdentry->d_name); in nfs_sillyrename()
495 task = nfs_async_rename(dir, dir, dentry, sdentry, in nfs_sillyrename()
517 d_move(dentry, sdentry); in nfs_sillyrename()
523 d_drop(sdentry); in nfs_sillyrename()
[all …]