patch-2.4.15 linux/fs/fat/inode.c
Next file: linux/fs/freevxfs/vxfs_subr.c
Previous file: linux/fs/ext3/symlink.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Tue Nov 20 14:15:26 2001
-  Orig file: 
v2.4.14/linux/fs/fat/inode.c
-  Orig date: 
Tue Oct 23 22:48:53 2001
diff -u --recursive --new-file v2.4.14/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -123,6 +123,8 @@
 		if (i->i_location != i_pos)
 			continue;
 		inode = igrab(i->i_fat_inode);
+		if (inode)
+			break;
 	}
 	spin_unlock(&fat_inode_lock);
 	return inode;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)