diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index d3ab8cccc..ae16911a2 100755 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c @@ -740,7 +740,7 @@ int jbd2_fc_begin_commit(journal_t *journal, tid_t tid) return -EINVAL; write_lock(&journal->j_state_lock); - if (tid_geq(journal->j_commit_sequence, tid)) { + if (tid <= journal->j_commit_sequence) { write_unlock(&journal->j_state_lock); return -EALREADY; }