Skip to content
  • Jan Kara's avatar
    [PATCH] reiserfs: fix assertion failure in reiserfs+journaled quotas · ef43bc4f
    Jan Kara authored
    
    
    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: default avatarJan Kara <jack@suse.cz>
    Cc: Jeff Mahoney <jeffm@suse.com>
    Cc: Chris Mason <mason@suse.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ef43bc4f