patch-2.1.60 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

diff -u --recursive --new-file v2.1.59/linux/fs/namei.c linux/fs/namei.c
@@ -448,6 +448,7 @@
 	char *name;
 	struct dentry *dentry;
 
+	check_dcache_memory();
 	name = getname(pathname);
 	dentry = (struct dentry *) name;
 	if (!IS_ERR(name)) {
@@ -521,6 +522,7 @@
 	struct inode *inode;
 	struct dentry *dentry;
 
+	check_dcache_memory();
 	mode &= S_IALLUGO & ~current->fs->umask;
 	mode |= S_IFREG;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov