Searched refs:trap (Results 1 – 4 of 4) sorted by relevance
459 struct dentry *dentry = NULL, *trap; in debugfs_rename() local462 trap = lock_rename(new_dir, old_dir); in debugfs_rename()467 if (!old_dentry->d_inode || old_dentry == trap || in debugfs_rename()472 if (IS_ERR(dentry) || dentry == trap || dentry->d_inode) in debugfs_rename()
1655 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local1683 trap = lock_rename(tdentry, fdentry); in nfsd_rename()1697 if (odentry == trap) in nfsd_rename()1705 if (ndentry == trap) in nfsd_rename()
2631 struct dentry *trap; in SYSCALL_DEFINE4() local2662 trap = lock_rename(new_dir, old_dir); in SYSCALL_DEFINE4()2682 if (old_dentry == trap) in SYSCALL_DEFINE4()2690 if (new_dentry == trap) in SYSCALL_DEFINE4()
981 3) Fixed eventual trap when mounting twice to different shares on the same server when the first su…