diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 07:22:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 07:22:42 -0700 |
commit | 777cb1b53dd11dbec6157adc97e9f908f6e8458c (patch) | |
tree | a7fd28bcbb9196dba327cf56dfceb3b057360a00 | |
parent | 277a4ed1df42134f66503db837e40f0b583ec63d (diff) | |
parent | 2fde99cb55fb9d9b88180512a5e8a5d939d27fec (diff) |
Merge branch 'linux-next' of git://git.infradead.org/ubifs-2.6
* 'linux-next' of git://git.infradead.org/ubifs-2.6:
UBIFS: mark VFS SB RO too
-rw-r--r-- | fs/ubifs/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ubifs/io.c b/fs/ubifs/io.c index 77d5cf4a7547..bcf5a16f30bb 100644 --- a/fs/ubifs/io.c +++ b/fs/ubifs/io.c @@ -64,6 +64,7 @@ void ubifs_ro_mode(struct ubifs_info *c, int err) if (!c->ro_media) { c->ro_media = 1; c->no_chk_data_crc = 0; + c->vfs_sb->s_flags |= MS_RDONLY; ubifs_warn("switched to read-only mode, error %d", err); dbg_dump_stack(); } |