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:
parent
c9797cfa27
commit
0de267ccdc
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user