mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
locks: print a lock before reporting an error about it
Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
2ef8b45db1
commit
2464ad08d6
10
proc_parse.c
10
proc_parse.c
@@ -1554,6 +1554,11 @@ int parse_file_locks(void)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pr_info("lockinfo: %lld:%d %x %d %02x:%02x:%ld %lld %s\n",
|
||||||
|
fl->fl_id, fl->fl_kind, fl->fl_ltype,
|
||||||
|
fl->fl_owner, fl->maj, fl->min, fl->i_no,
|
||||||
|
fl->start, fl->end);
|
||||||
|
|
||||||
if (is_blocked) {
|
if (is_blocked) {
|
||||||
/*
|
/*
|
||||||
* Here the task is in the pstree.
|
* Here the task is in the pstree.
|
||||||
@@ -1569,11 +1574,6 @@ int parse_file_locks(void)
|
|||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
pr_info("lockinfo: %lld:%d %x %d %02x:%02x:%ld %lld %s\n",
|
|
||||||
fl->fl_id, fl->fl_kind, fl->fl_ltype,
|
|
||||||
fl->fl_owner, fl->maj, fl->min, fl->i_no,
|
|
||||||
fl->start, fl->end);
|
|
||||||
|
|
||||||
list_add_tail(&fl->list, &file_lock_list);
|
list_add_tail(&fl->list, &file_lock_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user