patch-2.3.51 linux/fs/autofs4/root.c
Next file: linux/fs/bfs/dir.c
Previous file: linux/fs/autofs4/inode.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Mar 8 09:04:09 2000
- Orig file:
v2.3.50/linux/fs/autofs4/root.c
- Orig date:
Sat Feb 26 22:31:51 2000
diff -u --recursive --new-file v2.3.50/linux/fs/autofs4/root.c linux/fs/autofs4/root.c
@@ -353,7 +353,7 @@
* doesn't do the right thing for all system calls, but it should
* be OK for the operations we permit from an autofs.
*/
- if ( dentry->d_inode && list_empty(&dentry->d_hash) )
+ if ( dentry->d_inode && d_unhashed(dentry) )
return ERR_PTR(-ENOENT);
return NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)