mount-util: shortcut things after generating top-level bind mount
authorLennart Poettering <lennart@poettering.net>
Wed, 24 Mar 2021 13:02:29 +0000 (14:02 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 7 May 2021 09:57:43 +0000 (11:57 +0200)
commitc2c331056a7c331a5478124b3cd6a34c9f539839
tree4fca69a6ecba1e32236fc0767795c8386bba5335
parent2a613cd68f8d5b6dd7c36c613db9aef5c8ec904e
mount-util: shortcut things after generating top-level bind mount

Instead of marking the bind mount read-only right-away, let's just
restart the loop, so that we'll pick it up like any other mount and then
remount like that.

(cherry picked from commit 5c5753b9ea5cc012586ae90d357d460dec4301a4)
src/shared/mount-util.c