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

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)