mm: simplify nodemask printing
[sfrench/cifs-2.6.git] / fs / xfs / xfs_log_priv.h
index 51bf7b827387198d3bbc9f6db146abfcd3056a0c..129975970d993dd81e28abf049eb05e4b1cc6649 100644 (file)
@@ -592,9 +592,9 @@ xlog_valid_lsn(
         * a transiently forward state. Instead, we can see the LSN in a
         * transiently behind state if we happen to race with a cycle wrap.
         */
-       cur_cycle = ACCESS_ONCE(log->l_curr_cycle);
+       cur_cycle = READ_ONCE(log->l_curr_cycle);
        smp_rmb();
-       cur_block = ACCESS_ONCE(log->l_curr_block);
+       cur_block = READ_ONCE(log->l_curr_block);
 
        if ((CYCLE_LSN(lsn) > cur_cycle) ||
            (CYCLE_LSN(lsn) == cur_cycle && BLOCK_LSN(lsn) > cur_block)) {