diff options
author | 2010-05-21 07:22:42 -0700 | |
---|---|---|
committer | 2010-05-21 07:22:42 -0700 | |
commit | 777cb1b53dd11dbec6157adc97e9f908f6e8458c (patch) | |
tree | a7fd28bcbb9196dba327cf56dfceb3b057360a00 | |
parent | Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs (diff) | |
parent | UBIFS: mark VFS SB RO too (diff) | |
download | linux-dev-777cb1b53dd11dbec6157adc97e9f908f6e8458c.tar.xz linux-dev-777cb1b53dd11dbec6157adc97e9f908f6e8458c.zip |
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(); } |