]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/dissect-image.c
dissect-image: introduce probe_filesystem_full() which can take file descriptor of... 24625/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 1 Oct 2022 02:02:40 +0000 (11:02 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 12 Oct 2022 20:09:27 +0000 (05:09 +0900)
commitd2c6e79d89ce2f967d7a8a1e9c94492907dfd564
tree14e107773b98967dd54c49bcdb5653b5b45de3a2
parentf7725647bb41c3398a867f139efe526efe8aa1b3
dissect-image: introduce probe_filesystem_full() which can take file descriptor of device node

In dissect_loop_device(), we have opened the device node. Let's reuse
the file descriptor.
src/shared/dissect-image.c
src/shared/dissect-image.h