machine: use file descriptor when chasing bind mount sources
authorLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 15 Jan 2021 15:50:45 +0000 (15:50 +0000)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Mon, 18 Jan 2021 17:24:05 +0000 (17:24 +0000)
commitf7c18d3de8102056e4e78b08c9c8508644c5507f
tree05ca8e57162d4ac5f87724193c10c083026b911b
parent98f654fdeab1e1b6df2be76e29e4ccbb6624898d
machine: use file descriptor when chasing bind mount sources

Allows to always operate on pinned inodes, rather than paths, so that
races are less likely
src/shared/mount-util.c