Skip to contentSkip to conversation

blktests: remove unused null_blk parameter for _init_null_blk in block/016

PATCH Applied Yi Zhang 3 participants 3 messages Aug 25, 2018 – Aug 28, 2018 Block layer

lore
Share & tools
lore

Yi Zhang

author
#0 lore raw

PATCH 1/1 blktests: remove unused null_blk parameter for _init_null_blk in block/016

---
 tests/block/016 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/block/016 +1 -1
index 0e6f2e1..e0a63ad 100755
@@ -32,7 +32,7 @@ requires() {
 test() {
 	echo "Running ${TEST_NAME}"
 
-	if ! _init_null_blk null_blk queue_mode=2 irqmode=2 completion_nsec=2000000000; then
+	if ! _init_null_blk queue_mode=2 irqmode=2 completion_nsec=2000000000; then
 		return 1
 	fi
 
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

looks good to me

Quoted 10 lines · Yi Zhang
---
 tests/block/016 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/block/016 +0 -0
index 0e6f2e1..e0a63ad 100755

tests/block/016 requires() { · line 35

Quoted 4 lines
tests/block/016 +0 -1
@@ -32,7 +32,7 @@ requires() {
 test() {
        echo "Running ${TEST_NAME}"
 
-       if ! _init_null_blk null_blk queue_mode=3D2 irqmode=3D2 completio=

n_nsec=3D2000000000; then

tests/block/016 requires() { · line 35

Quoted 1 line
tests/block/016 +1 -0
+       if ! _init_null_blk queue_mode=3D2 irqmode=3D2 completion_nsec=3D=

2000000000; then

Quoted 6 lines
tests/block/016 +0 -1
                return 1
        fi
 
--

2.17.1

--=20
GIOH KIM
Linux Kernel Entwickler

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Tel:       +49 176 2697 8962
Fax:      +49 30 577 008 299
Email:    [email protected]
URL:      https://www.profitbricks.de

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B Gesch=C3=A4ftsf=C3=BChrer: Achim Weiss, Matthias Steinberg, Christoph Steff= ens

#2 lore raw
In reply to Yi Zhang
Quoted 10 lines · Yi Zhang
---
 tests/block/016 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/block/016 +0 -0
index 0e6f2e1..e0a63ad 100755

tests/block/016 requires() { · line 37

Quoted 7 lines
tests/block/016 +1 -1
@@ -32,7 +32,7 @@ requires() {
 test() {
 	echo "Running ${TEST_NAME}"
 
-	if ! _init_null_blk null_blk queue_mode=2 irqmode=2 completion_nsec=2000000000; then
+	if ! _init_null_blk queue_mode=2 irqmode=2 completion_nsec=2000000000; then
 		return 1
 	fi

Applied, thanks!