diff options
Diffstat (limited to 'fs/jbd/journal.c')
-rw-r--r-- | fs/jbd/journal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c index 71cfe25d716e..334f4cf0823b 100644 --- a/fs/jbd/journal.c +++ b/fs/jbd/journal.c | |||
@@ -179,6 +179,8 @@ loop: | |||
179 | if (transaction && time_after_eq(jiffies, | 179 | if (transaction && time_after_eq(jiffies, |
180 | transaction->t_expires)) | 180 | transaction->t_expires)) |
181 | should_sleep = 0; | 181 | should_sleep = 0; |
182 | if (journal->j_flags & JFS_UNMOUNT) | ||
183 | should_sleep = 0; | ||
182 | if (should_sleep) { | 184 | if (should_sleep) { |
183 | spin_unlock(&journal->j_state_lock); | 185 | spin_unlock(&journal->j_state_lock); |
184 | schedule(); | 186 | schedule(); |