main: keep bio brick when logger exists

This commit is contained in:
Thomas Schoebel-Theuer 2020-06-10 08:09:00 +02:00 committed by Thomas Schoebel-Theuer
parent 35ca2b9f76
commit 3b87d70162

View File

@ -4787,7 +4787,7 @@ int make_bio(void *buf, struct mars_dent *dent)
dent->d_path,
(const struct generic_brick_type*)&bio_brick_type,
(const struct generic_brick_type*[]){},
switch_on ? 2 : -1,
rot->trans_brick || switch_on ? 2 : -1,
dent->d_path,
(const char *[]){},
0);