From 4f231aa9871f71935017db4c66cc8cda3395150f Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Sun, 1 Aug 2010 17:33:29 -0400 Subject: [PATCH] --- yaml --- r: 206318 b: refs/heads/master c: 437f88cc031ffe7f37f3e705367f4fe1f4be8b0f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ext4/super.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e7c22edd0db8..3f769f8845a8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4538821993f4486c76090dfb377c60c0a0e71ba3 +refs/heads/master: 437f88cc031ffe7f37f3e705367f4fe1f4be8b0f diff --git a/trunk/fs/ext4/super.c b/trunk/fs/ext4/super.c index e046eba24782..282a2704be23 100644 --- a/trunk/fs/ext4/super.c +++ b/trunk/fs/ext4/super.c @@ -241,7 +241,7 @@ handle_t *ext4_journal_start_sb(struct super_block *sb, int nblocks) if (sb->s_flags & MS_RDONLY) return ERR_PTR(-EROFS); - vfs_check_frozen(sb, SB_FREEZE_WRITE); + vfs_check_frozen(sb, SB_FREEZE_TRANS); /* Special case here: if the journal has aborted behind our * backs (eg. EIO in the commit thread), then we still need to * take the FS itself readonly cleanly. */ @@ -3608,7 +3608,7 @@ int ext4_force_commit(struct super_block *sb) journal = EXT4_SB(sb)->s_journal; if (journal) { - vfs_check_frozen(sb, SB_FREEZE_WRITE); + vfs_check_frozen(sb, SB_FREEZE_TRANS); ret = ext4_journal_force_commit(journal); }