]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae1fb78e9b9d3d5f3945c456b08724ef791497e1
treeaf096de2a3a5b5f4d61a5bae06331fed9854534b
parent3ded8b5ebd310838c0ab1752b765034f20e4ebcd
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