]> git.baikalelectronics.ru Git - kernel.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)
commit9ba56e775b10e0482d386b22ef2c9ff70faf3306
tree1c856ed32d7a282dbde0cea2e8839e2c2de51ba9
parent13e8af56c933cc7b89ff852fdde8b1cc07c3ae07
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