libbb: if opening /dev/loopN returns ENXIO, don't try N++.
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 21 Jan 2014 12:44:21 +0000 (13:44 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 21 Jan 2014 12:44:21 +0000 (13:44 +0100)
commitfa6ab56353e84057bf1b2f740bc1e1a99af686ce
treea3230ebf679913d457c2b09a1fc1c114124381b3
parent3b394781b5b9301fc489d9bfff6fbefb4db190f3
libbb: if opening /dev/loopN returns ENXIO, don't try N++.

function                                             old     new   delta
set_loop                                             639     635      -4

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/loop.c