patch-2.1.129 linux/fs/namei.c
Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/msdos/namei.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Mon Nov 16 10:38:09 1998
- Orig file:
v2.1.128/linux/fs/namei.c
- Orig date:
Sun Nov 8 14:03:06 1998
diff -u --recursive --new-file v2.1.128/linux/fs/namei.c linux/fs/namei.c
@@ -12,22 +12,14 @@
* lookup logic.
*/
-#include <linux/errno.h>
-#include <linux/sched.h>
-#include <linux/kernel.h>
-#include <linux/string.h>
-#include <linux/fcntl.h>
-#include <linux/stat.h>
#include <linux/mm.h>
#include <linux/proc_fs.h>
-#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <linux/quotaops.h>
#include <asm/uaccess.h>
#include <asm/unaligned.h>
#include <asm/semaphore.h>
-#include <asm/spinlock.h>
#include <asm/page.h>
#include <asm/pgtable.h>
@@ -346,6 +338,7 @@
do {
name++;
} while (*name == '/');
+ __prefix_lookup_dentry(name, lookup_flags);
base = dget(current->fs->root);
} else if (!base) {
base = dget(current->fs->pwd);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov