From: Bernhard Walle Date: Fri, 23 Mar 2012 22:02:28 +0000 (-0700) Subject: init/do_mounts.c: print error code on mount failure X-Git-Tag: v3.4-rc1~109^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e0cb892a8dac7c76321c899934705e5f0812574;p=pandora-kernel.git init/do_mounts.c: print error code on mount failure Printing the error code makes it easier to debug the cause of a mount failure. For example I had the problem that the root file system could not be mounted read-writeable because my SD card was write-protected. Without an error code it looks like the SD card was not detected at all. Signed-off-by: Bernhard Walle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed