arch: Mass conversion of smp_mb__*()
[linux-2.6-block.git] / fs / ubifs / lpt_commit.c
index 4b826abb1528f57035b2ebb47ccfc4ee458e0ff8..45d4e96a6bac0fe36f67b268ada5fea066627eee 100644 (file)
@@ -460,9 +460,9 @@ static int write_cnodes(struct ubifs_info *c)
                 * important.
                 */
                clear_bit(DIRTY_CNODE, &cnode->flags);
-               smp_mb__before_clear_bit();
+               smp_mb__before_atomic();
                clear_bit(COW_CNODE, &cnode->flags);
-               smp_mb__after_clear_bit();
+               smp_mb__after_atomic();
                offs += len;
                dbg_chk_lpt_sz(c, 1, len);
                cnode = cnode->cnext;