Home
last modified time | relevance | path

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

/fs/debugfs/
Dinode.c629 struct dentry *dentry = NULL, *trap; in debugfs_rename() local
632 trap = lock_rename(new_dir, old_dir); in debugfs_rename()
637 if (!old_dentry->d_inode || old_dentry == trap || in debugfs_rename()
642 if (IS_ERR(dentry) || dentry == trap || dentry->d_inode) in debugfs_rename()
/fs/sdcardfs/
Dinode.c477 struct dentry *trap = NULL; in sdcardfs_rename() local
498 trap = lock_rename(lower_old_dir_dentry, lower_new_dir_dentry); in sdcardfs_rename()
500 if (trap == lower_old_dentry) { in sdcardfs_rename()
505 if (trap == lower_new_dentry) { in sdcardfs_rename()
/fs/cachefiles/
Dnamei.c276 struct dentry *grave, *trap; in cachefiles_bury_object() local
323 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object()
340 if (trap == rep) { in cachefiles_bury_object()
382 if (trap == grave) { in cachefiles_bury_object()
/fs/ecryptfs/
Dinode.c621 struct dentry *trap = NULL; in ecryptfs_rename() local
631 trap = lock_rename(lower_old_dir_dentry, lower_new_dir_dentry); in ecryptfs_rename()
633 if (trap == lower_old_dentry) { in ecryptfs_rename()
638 if (trap == lower_new_dentry) { in ecryptfs_rename()
/fs/nfsd/
Dvfs.c1743 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1773 trap = lock_rename(tdentry, fdentry); in nfsd_rename()
1787 if (odentry == trap) in nfsd_rename()
1795 if (ndentry == trap) in nfsd_rename()
/fs/
Dnamei.c3916 struct dentry *trap; in SYSCALL_DEFINE4() local
3957 trap = lock_rename(new_dir, old_dir); in SYSCALL_DEFINE4()
3977 if (old_dentry == trap) in SYSCALL_DEFINE4()
3985 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…