]> git.ipfire.org Git - thirdparty/util-linux.git/commit
loopdev: Do not treat errors when detecting overlap as fatal
authorJan Kara <jack@suse.cz>
Thu, 20 Jan 2022 12:16:39 +0000 (13:16 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 25 Jan 2022 16:15:58 +0000 (17:15 +0100)
commit562990b5520ec8331dab25d139af8cb15d37e5a1
tree156a33301708996e0ef4b4bdfb7719b7992950c7
parentfb4b6b11544df405fb0f486b399938a8ee3f03e6
loopdev: Do not treat errors when detecting overlap as fatal

When looking for overlapping loop device we can fail getting some loop
device properties when we race with device autoclear. Just squelsh these
errors and try next loop device.

Signed-off-by: Jan Kara <jack@suse.cz>
lib/loopdev.c