From: Neil Armstrong Date: Wed, 2 Nov 2011 20:37:47 +0000 (-0700) Subject: init/do_mounts_rd.c: fix ramdisk identification for padded cramfs X-Git-Tag: v3.2-rc1~82^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f919b9235f930e649b374a50009c6c268bd9a073;p=pandora-kernel.git init/do_mounts_rd.c: fix ramdisk identification for padded cramfs When a cramfs ramdisk padded with 512 bytes is given to the kernel, the current identify_ramdisk_image function fails to identify it. Tested with a padded cramfs image on an ARM based board. Signed-off-by: Neil Armstrong Cc: Namhyung Kim Cc: Davidlohr Bueso Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed