[CRIU] [PATCH] locks: print a lock before reporting an error about it
Andrey Vagin
avagin at openvz.org
Wed Oct 29 00:43:22 PDT 2014
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
proc_parse.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/proc_parse.c b/proc_parse.c
index 0e7838f..a53408c 100644
--- a/proc_parse.c
+++ b/proc_parse.c
@@ -1554,6 +1554,11 @@ int parse_file_locks(void)
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) {
/*
* Here the task is in the pstree.
@@ -1569,11 +1574,6 @@ int parse_file_locks(void)
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);
}
--
1.9.3
More information about the CRIU
mailing list