From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Sun, 16 Feb 2020 14:23:45 +0100 Subject: [LTP] [PATCH v2 1/3] tst_umount: Fail immediately when errno != EBUSY In-Reply-To: References: <20200210124043.14425-1-pvorel@suse.cz> Message-ID: <20200216132345.GA2718765@x230> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Li, > Acked-by: Li Wang > 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