mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +00:00
mount: Dump external bind-mounts with plugins
External bind mounts are those with source sitting outside of the current FS view. Such are detected in validate_mounts(), so we just go ahead and call plugins. The plugin is provided with the mountpoint to decide whether it's his or not (what else does the guy need?) and an ID with this it can identify the mountpoint in /proc. The same ID will be used at restore time to find the needed restore info. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -112,6 +112,7 @@ struct mount_info {
|
||||
char *source;
|
||||
char *options;
|
||||
bool mounted;
|
||||
bool need_plugin;
|
||||
struct mount_info *next;
|
||||
|
||||
/* tree linkage */
|
||||
|
Reference in New Issue
Block a user