patch-2.4.22 linux-2.4.22/fs/namei.c

Next file: linux-2.4.22/fs/ncpfs/inode.c
Previous file: linux-2.4.22/fs/locks.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/fs/namei.c linux-2.4.22/fs/namei.c
@@ -627,6 +627,8 @@
 			nd->last_type = LAST_DOT;
 		else if (this.len == 2 && this.name[1] == '.')
 			nd->last_type = LAST_DOTDOT;
+		else
+			goto return_base;
 return_reval:
 		/*
 		 * We bypassed the ordinary revalidation routines.

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