Home
last modified time | relevance | path

Searched refs:trap (Results 1 – 6 of 6) sorted by relevance

/fs/debugfs/
Dinode.c597 struct dentry *dentry = NULL, *trap; in debugfs_rename() local
600 trap = lock_rename(new_dir, old_dir); in debugfs_rename()
605 if (!old_dentry->d_inode || old_dentry == trap || in debugfs_rename()
610 if (IS_ERR(dentry) || dentry == trap || dentry->d_inode) in debugfs_rename()
/fs/cachefiles/
Dnamei.c277 struct dentry *grave, *trap; in cachefiles_bury_object() local
324 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object()
341 if (trap == rep) { in cachefiles_bury_object()
383 if (trap == grave) { in cachefiles_bury_object()
/fs/ecryptfs/
Dinode.c632 struct dentry *trap = NULL; in ecryptfs_rename() local
642 trap = lock_rename(lower_old_dir_dentry, lower_new_dir_dentry); in ecryptfs_rename()
644 if (trap == lower_old_dentry) { in ecryptfs_rename()
649 if (trap == lower_new_dentry) { in ecryptfs_rename()
/fs/nfsd/
Dvfs.c1749 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1777 trap = lock_rename(tdentry, fdentry); in nfsd_rename()
1791 if (odentry == trap) in nfsd_rename()
1799 if (ndentry == trap) in nfsd_rename()
/fs/
Dnamei.c3250 struct dentry *trap; in SYSCALL_DEFINE4() local
3281 trap = lock_rename(new_dir, old_dir); in SYSCALL_DEFINE4()
3301 if (old_dentry == trap) in SYSCALL_DEFINE4()
3309 if (new_dentry == trap) in SYSCALL_DEFINE4()
/fs/cifs/
DCHANGES1045 3) Fixed eventual trap when mounting twice to different shares on the same server when the first su…