From: Dave Johnson Date: Mon, 6 Mar 2006 23:42:36 +0000 (-0800) Subject: [PATCH] cramfs mounts provide corrupted content since 2.6.15 X-Git-Tag: v2.6.16-rc6~106 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff3aea0e68bfd46120ce2d08bc1f8240fa2bd36a;p=pandora-kernel.git [PATCH] cramfs mounts provide corrupted content since 2.6.15 Fix handling of cramfs images created by util-linux containing empty regular files. Images created by cramfstools 1.x were ok. Fill out inode contents in cramfs_iget5_set() instead of get_cramfs_inode() to prevent issues if cramfs_iget5_test() is called with I_LOCK|I_NEW still set. Signed-off-by: Dave Johnson Cc: Olaf Hering Cc: Chris Mason Cc: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed