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)
commit90bea5a3f0bf680b87b90516f3c231997f4b8f3b
treeaf096de2a3a5b5f4d61a5bae06331fed9854534b
parent72abc8f4b4e8574318189886de627a2bfe6cd0da
UBIFS: respect MS_SILENT mount flag

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
This page took 0.029041 seconds and 5 git commands to generate.