]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - lib/sbitmap.c
rslib: Fix decoding of shortened codes
[mirror_ubuntu-bionic-kernel.git] / lib / sbitmap.c
index 80aa8d5463faf9f4c39d5c58bb7efdb927836cdb..8e467917e0d18ec31133add2937fa41c00591e42 100644 (file)
@@ -338,7 +338,7 @@ void sbitmap_queue_resize(struct sbitmap_queue *sbq, unsigned int depth)
                 * Pairs with the memory barrier in sbq_wake_up() to ensure that
                 * the batch size is updated before the wait counts.
                 */
-               smp_mb__before_atomic();
+               smp_mb();
                for (i = 0; i < SBQ_WAIT_QUEUES; i++)
                        atomic_set(&sbq->ws[i].wait_cnt, 1);
        }