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

Next file: linux/fs/autofs/root.c
Previous file: linux/drivers/video/vesafb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.7/linux/fs/adfs/namei.c linux/fs/adfs/namei.c
@@ -46,7 +46,7 @@
 	unsigned long parent_object_id, dir_object_id;
 	int buffers, pos;
 
-	if (!dir || !S_ISDIR(dir->i_mode))
+	if (!S_ISDIR(dir->i_mode))
 		return 0;
 
 	sb = dir->i_sb;

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