Missed fls() -> __fls() conversion
[fio.git] / engines / syslet-rw.c
index 47610a0cb515e02b02b7350549824a58003ef640..4b3e5ef4ab18c2ca5b0610bbe125f497b7a7ba82 100644 (file)
@@ -242,7 +242,7 @@ static int fio_syslet_init(struct thread_data *td)
         */
        ring_nr = td->o.iodepth;
        if (ring_nr & (ring_nr - 1))
         */
        ring_nr = td->o.iodepth;
        if (ring_nr & (ring_nr - 1))
-               ring_nr = 1 << fls(ring_nr);
+               ring_nr = 1 << __fls(ring_nr);
 
        ring_size = sizeof(struct syslet_ring) +
                        ring_nr * sizeof(struct syslet_completion);
 
        ring_size = sizeof(struct syslet_ring) +
                        ring_nr * sizeof(struct syslet_completion);