diff options
author | Neil Armstrong <narmstrong@neotion.com> | 2011-11-02 21:37:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-03 00:06:58 +0100 |
commit | f919b9235f930e649b374a50009c6c268bd9a073 (patch) | |
tree | e6e58d209b82add156f53649a78b34f8cdc08222 /drivers/rtc | |
parent | ramfs: remove module leftovers (diff) | |
download | linux-f919b9235f930e649b374a50009c6c268bd9a073.tar.xz linux-f919b9235f930e649b374a50009c6c268bd9a073.zip |
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 <narmstrong@neotion.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Davidlohr Bueso <dave@gnu.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions