]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
sysv: do not mark superblock dirty on remount
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 5 Jul 2010 12:15:04 +0000 (15:15 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Aug 2010 20:48:58 +0000 (16:48 -0400)
commit719f2c879f4dda7d7f303bd387d37cd96db29d31
treef6ca528a094e07b6eb4e1f6a497250b6654e551a
parent315671f3b8091bc8e15035ffeba5f7bff7b8edec
sysv: do not mark superblock dirty on remount

No need to mark the superblock as dirty in sysv_remount, synchronize
it instead (only if mounting R/O).

I did not find any docs about this file-system, and I have no possibility
to test my changes. Thus, this is untested. I see other issues in sysv,
e.g., why sysv_sync_fs writes only in the FSTYPE_SYSV4 case? However,
it marks its SB bh's dirty for all types, and does not wait for them
ever. With zero docs I'm unable to fix this.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/sysv/inode.c