Skip to content
Commit 17c51d83 authored by Shijie Luo's avatar Shijie Luo Committed by Theodore Ts'o
Browse files

jbd2: remove pointless assertion in __journal_remove_journal_head



Only when jh->b_jcount = 0 in jbd2_journal_put_journal_head, we are allowed
to call __journal_remove_journal_head. This assertion is meaningless,
just remove it.

Signed-off-by: default avatarShijie Luo <luoshijie1@huawei.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20200123070054.50585-1-luoshijie1@huawei.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 8d6ce136
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment