]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit8f64b32eb73fbfe9f38c4123121b63ee409278a7
tree1c856ed32d7a282dbde0cea2e8839e2c2de51ba9
parentd8ae4601a4b7ea1fa17fa395c3468c0e144d1275
ext4: don't call jbd2_journal_force_commit_nested without journal

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>
fs/ext4/balloc.c
fs/ext4/inode.c