X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fjbd2%2Ftransaction.c;h=996ffda06bf306fde630e833f91332b745107689;hb=133e2a3164771454aa326859c2b293687189b553;hp=28ce21d8598e11f16182a973d31d7e8bef83c145;hpb=158c1529fe8d0094d0051169fd2b1a23e6305223;p=linux-2.6-omap-h63xx.git diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index 28ce21d8598..996ffda06bf 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c @@ -1315,6 +1315,8 @@ int jbd2_journal_stop(handle_t *handle) } } + if (handle->h_sync) + transaction->t_synchronous_commit = 1; current->journal_info = NULL; spin_lock(&journal->j_state_lock); spin_lock(&transaction->t_handle_lock);