drbd: switch to using blk_queue_write_cache()
[deliverable/linux.git] / lib / rhashtable.c
index 51282f5797606545330a29e93b3728d843616ea9..cc808707d1cf5fc78ebaaf9aff68f7ea24bd8169 100644 (file)
@@ -231,9 +231,6 @@ static int rhashtable_rehash_attach(struct rhashtable *ht,
         */
        rcu_assign_pointer(old_tbl->future_tbl, new_tbl);
 
-       /* Ensure the new table is visible to readers. */
-       smp_wmb();
-
        spin_unlock_bh(old_tbl->locks);
 
        return 0;
This page took 0.025718 seconds and 5 git commands to generate.