]> git.ipfire.org Git - thirdparty/systemd.git/commit
loop-util: re-introduce loop_device_open() which takes sd_device object 24829/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 18 Sep 2022 03:28:45 +0000 (12:28 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Sep 2022 08:42:37 +0000 (17:42 +0900)
commit4f0ad43e2432f644be8dacc28f9973dfd0f420cd
tree5366716323b371446759e86e279fb77cdba1ba4f
parentde3b7f168e13cffe6067d5a7b6df4f301c9b05b9
loop-util: re-introduce loop_device_open() which takes sd_device object

Then, this makes loop_device_open_from_fd() or _from_path() be wrappers
of loop_device_open() with block_device_new_from_fd() or _from_path(),
respectively.
src/shared/loop-util.c
src/shared/loop-util.h