ext4: don't call jbd2_journal_force_commit_nested without journal
authorEric Sandeen <sandeen@redhat.com>
Thu, 26 Feb 2009 05:57:35 +0000 (00:57 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 26 Feb 2009 05:57:35 +0000 (00:57 -0500)
Running without a journal, I oopsed when I ran out of space,
because we called jbd2_journal_force_commit_nested() from
ext4_should_retry_alloc() without a journal.

This should take care of it, I think.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found