2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

fs: Move info about cwd into separate file

Why? Because one day we'll support various CLONE_ flags and
for fdtable and fs info we'd like to have separate images (since
these objects are separate in kernel).

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-04-09 13:41:05 +04:00
parent 69b3ebd002
commit e5e57e832b
8 changed files with 103 additions and 39 deletions

View File

@@ -170,6 +170,12 @@ struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX] = {
.magic = IPCNS_SEM_MAGIC,
.show = show_ipc_sem,
},
[CR_FD_FS] = {
.fmt = FMT_FNAME_FS,
.magic = FS_MAGIC,
.show = show_fs,
},
};
static struct cr_fdset *alloc_cr_fdset(int nr)