2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00

crtools: add a callback to show filelocks-%d.img

Add a callback for filelock's image show.

Originally-signed-off-by: Zheng Gu <cengku.gu@huawei.com>
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Qiang Huang 2013-01-17 16:09:29 +08:00 committed by Pavel Emelyanov
parent c9797cfa27
commit 0de267ccdc
2 changed files with 6 additions and 0 deletions

View File

@ -115,6 +115,11 @@ void show_tty_info(int fd, struct cr_options *o)
pb_show_plain(fd, PB_TTY_INFO);
}
void show_file_locks(int fd, struct cr_options *o)
{
pb_show_plain(fd, PB_FILE_LOCK);
}
void show_fs(int fd_fs, struct cr_options *o)
{
pb_show_vertical(fd_fs, PB_FS);

View File

@ -164,6 +164,7 @@ void show_fown_cont(void *p);
void show_eventfds(int fd, struct cr_options *o);
void show_tty(int fd, struct cr_options *o);
void show_tty_info(int fd, struct cr_options *o);
void show_file_locks(int fd, struct cr_options *o);
void show_rlimit(int fd, struct cr_options *o);
int check_img_inventory(void);