UBIFS: respect MS_SILENT mount flag
authorDaniel Golle <daniel@makrotopia.org>
Mon, 2 Jun 2014 13:51:10 +0000 (15:51 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 2 Jun 2014 15:00:52 +0000 (18:00 +0300)
When attempting to mount a non-ubifs formatted volume, lots of error
messages (including a stack dump) are thrown to the kernel log even if
the MS_SILENT mount flag is set.
Fix this by introducing adding an additional state-variable in
struct ubifs_info and suppress error messages in ubifs_read_node if
MS_SILENT is set.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/io.c
fs/ubifs/super.c
fs/ubifs/ubifs.h

diff --cc fs/ubifs/io.c
Simple merge
Simple merge
Simple merge