]> git.ipfire.org Git - thirdparty/util-linux.git/commit
loopdev: Properly translate errors from ul_path_read_*()
authorJan Kara <jack@suse.cz>
Thu, 20 Jan 2022 12:16:38 +0000 (13:16 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 25 Jan 2022 16:15:58 +0000 (17:15 +0100)
commitfb4b6b11544df405fb0f486b399938a8ee3f03e6
tree85dd27c444152ba51fc8cc805d9b544ac64f9877
parent3e1fc3bbee99384cf43c2677cf77756a0ef002c0
loopdev: Properly translate errors from ul_path_read_*()

A few callsites do not translate error from ul_path_read_*() and just
treat it as error code leading to confusing EPERM errors.

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