]> bbs.cooldavid.org Git - net-next-2.6.git/commit
jbd2: clean up an assertion in jbd2_journal_commit_transaction()
authordingdinghua <dingdinghua@nrchpc.ac.cn>
Wed, 24 Feb 2010 17:11:20 +0000 (12:11 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 24 Feb 2010 17:11:20 +0000 (12:11 -0500)
commit23e2af3518facab6838d7aac1f46fbd7a5a290ce
tree97a45b7d17bd0f4f5c8a65a9583b66886351cf7a
parent56c50f11f4d11cb14d78fe52330efb69d219c62f
jbd2: clean up an assertion in jbd2_journal_commit_transaction()

commit_transaction has the same value as journal->j_running_transaction,
so we can simplify the assert statement.

Signed-off-by: dingdinghua <dingdinghua@nrchpc.ac.cn>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/commit.c