diff options
author | Jan Kara <jack@suse.cz> | 2006-01-11 12:17:40 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 18:42:12 -0800 |
commit | ef43bc4fc32bec8fda7bae8948b774616dc9e496 (patch) | |
tree | 75cec437c9909f29752ad77b50fbd09af55e7817 /net/appletalk | |
parent | 0c8365ecc57f87e4d982c3fe59a4c1b985484e7f (diff) | |
download | op-kernel-dev-ef43bc4fc32bec8fda7bae8948b774616dc9e496.zip op-kernel-dev-ef43bc4fc32bec8fda7bae8948b774616dc9e496.tar.gz |
[PATCH] reiserfs: fix assertion failure in reiserfs+journaled quotas
Sometimes we call do_journal_end() with t_refcount == 0. If quota is
turned on and we happen to have some inode with preallocation bad things
happen as we try to use the current handle for quota operations. Checks
for t_refcount in journal_begin() fail and we Oops. We raise t_refcount to
make those checks happy. We should not cause any bad as all the needed
quota blocks should be already attached to the transaction (they were
attached to the transaction when we allocated those preallocation blocks).
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Chris Mason <mason@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions