patch-2.2.8 linux/fs/ext2/namei.c

Next file: linux/fs/hfs/sysdep.c
Previous file: linux/fs/ext2/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.7/linux/fs/ext2/namei.c linux/fs/ext2/namei.c
@@ -74,8 +74,6 @@
 	int block, toread, i, err;
 
 	*res_dir = NULL;
-	if (!dir)
-		return NULL;
 	sb = dir->i_sb;
 
 	if (namelen > EXT2_NAME_LEN)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)