Skip to content
Commit 92e739e9 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

mount: Reset mountinfos when mntns recreated



The list of mounts is used by inotify to restore a watch with open-by-handle. The problem
is that after the clean_mnt_ns is done the mntinfo list is no longer relevant.

Fix it by freeing the old one and initializing the new with the read-from-image stuff.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent d8a6ecc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment