]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: mark VFS SB RO too
authorZhangJieJing <kzjeef@gmail.com>
Fri, 16 Apr 2010 03:36:50 +0000 (11:36 +0800)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 29 Apr 2010 12:12:18 +0000 (15:12 +0300)
commitae641676134ca8f1d4239ec7034a6449da103450
tree52113a2ea0c08f5beb496a6a9c00da618c07c67d
parente81baa679f43df02ace8c3263b53c767d714f2cd
UBIFS: mark VFS SB RO too

If some read/write error happens (eg.CRC error), UBIFS swotches to
read-only mode, but the VFS infomation still not update.
This patch add this also make /proc/mounts update.

Signed-off-by: Zhang Jiejing <kzjeef@gmail.com>
fs/ubifs/io.c