]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/jbd2/commit.c
jbd2: Remove t_handle_lock from start_this_handle()
[net-next-2.6.git] / fs / jbd2 / commit.c
index 67bb0a2f35e5f0feacb4ef01757b18b793e457a8..f52e5e8049f195ec461bfb8781584722b5da2562 100644 (file)
@@ -1004,7 +1004,8 @@ restart_loop:
         * File the transaction statistics
         */
        stats.ts_tid = commit_transaction->t_tid;
-       stats.run.rs_handle_count = commit_transaction->t_handle_count;
+       stats.run.rs_handle_count =
+               atomic_read(&commit_transaction->t_handle_count);
        trace_jbd2_run_stats(journal->j_fs_dev->bd_dev,
                             commit_transaction->t_tid, &stats.run);