mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
ext3: Fix waiting on transaction during fsync
log_start_commit() returns 1 only when it started a transaction commit. Thus in case transaction commit is already running, we fail to wait for the commit to finish. Fix the issue by always waiting for the commit regardless of the log_start_commit return value. Signed-off-by: Jan Kara <[email protected]>
This commit is contained in:
parent
03f4d804a1
commit
5277970878
2 changed files with 10 additions and 12 deletions
|
|
@ -594,7 +594,7 @@ out:
|
|||
spin_unlock(&journal->j_state_lock);
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(journal_commit_will_send_barrier);
|
||||
EXPORT_SYMBOL(journal_trans_will_send_data_barrier);
|
||||
|
||||
/*
|
||||
* Log buffer allocation routines:
|
||||
|
|
|
|||
Loading…
Reference in a new issue