diff options
author | Bernhard Walle <bernhard@bwalle.de> | 2012-03-23 15:02:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 16:58:38 -0700 |
commit | 0e0cb892a8dac7c76321c899934705e5f0812574 (patch) | |
tree | cf58a9566e7fb6597d798b716b4b324950f23b30 /kernel/audit.c | |
parent | 8595c539f0360477189eef91f6337ba44962f72d (diff) | |
download | op-kernel-dev-0e0cb892a8dac7c76321c899934705e5f0812574.zip op-kernel-dev-0e0cb892a8dac7c76321c899934705e5f0812574.tar.gz |
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 <bernhard@bwalle.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions