blockdev-util: reopen file descriptor only when O_PATH is set
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 19 Sep 2022 23:43:45 +0000 (08:43 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Sep 2022 08:41:09 +0000 (17:41 +0900)
commit446f8db66bf5e0fbf71bd42423d865c207082388
treed5bb45f1b90ec8c6b156fcde8ce3444cb3f5526d
parent7e4a0387c4cb02a13d3221035f7c159e71d4b587
blockdev-util: reopen file descriptor only when O_PATH is set

Prompted by 13879c54d4f8b912e1f8c57e0ff7b516dd2a6f52.
src/shared/blockdev-util.c