diff options
author | 2025-06-22 18:03:29 -0400 | |
---|---|---|
committer | 2025-06-23 14:02:08 -0400 | |
commit | ce7df19686530920f2f6b636e71ce5eb1d9303ef (patch) | |
tree | 426d249b6680b106af5300644180ed84ee8ba80e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | replace collect_mounts()/drop_collected_mounts() with a safer variant (diff) | |
download | wireguard-linux-ce7df19686530920f2f6b636e71ce5eb1d9303ef.tar.xz wireguard-linux-ce7df19686530920f2f6b636e71ce5eb1d9303ef.zip |
attach_recursive_mnt(): do not lock the covering tree when sliding something under it
If we are propagating across the userns boundary, we need to lock the
mounts added there. However, in case when something has already
been mounted there and we end up sliding a new tree under that,
the stuff that had been there before should not get locked.
IOW, lock_mnt_tree() should be called before we reparent the
preexisting tree on top of what we are adding.
Fixes: 3bd045cc9c4b ("separate copying and locking mount tree on cross-userns copies")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions