[LTP] [PATCH v2 1/3] tst_umount: Fail immediately when errno != EBUSY

Petr Vorel pvorel@suse.cz
Sun Feb 16 14:23:45 CET 2020


Hi Li,

> Acked-by: Li Wang <liwang@redhat.com>

> Since we have guaranteed there is no other error besides EBUSY, maybe we
> could cancel the 'err == EBUSY' in the next if() sentences.
> Otherweise patch 1/3, 2/3 looks good.

> if (i == 0 && err == EBUSY) {
>     ...
> }
+1 (fixed in prepared code to be merged).
Thanks for your review.

Kind regards,
Petr


More information about the ltp mailing list