]> www.infradead.org Git - users/sagi/blktests.git/commitdiff
block/018: use _init_null_blk
authorOmar Sandoval <osandov@fb.com>
Mon, 24 Sep 2018 17:24:42 +0000 (10:24 -0700)
committerOmar Sandoval <osandov@fb.com>
Mon, 24 Sep 2018 17:25:08 +0000 (10:25 -0700)
Signed-off-by: Omar Sandoval <osandov@fb.com>
tests/block/018

index 04353507e9b9ff4ab73a5a015429a6ae4a28f2cf..c70fc2497270083f800d3f0fd6dcb32b18a68e74 100755 (executable)
@@ -49,13 +49,11 @@ test() {
 
                echo "queue mode $queue_mode"
 
-               if ! modprobe null_blk queue_mode="$queue_mode" irqmode=2 \
+               if ! _init_null_blk queue_mode="$queue_mode" irqmode=2 \
                     completion_nsec=1000000000; then
                        continue
                fi
 
-               udevadm settle
-
                init_times
                show_times