Commit ba6ac010 authored by Kinsbursky Stanislav's avatar Kinsbursky Stanislav Committed by Cyrill Gorcunov
parent 81060211
...@@ -124,6 +124,7 @@ static int dump_one_reg_file(struct fd_parms *p, int lfd, ...@@ -124,6 +124,7 @@ static int dump_one_reg_file(struct fd_parms *p, int lfd,
e.flags = p->flags; e.flags = p->flags;
e.pos = p->pos; e.pos = p->pos;
e.addr = p->fd_name; e.addr = p->fd_name;
e.id = FD_ID_INVALID;
if (likely(!fd_is_special(&e))) { if (likely(!fd_is_special(&e))) {
struct fd_id_entry *entry; struct fd_id_entry *entry;
...@@ -140,8 +141,7 @@ static int dump_one_reg_file(struct fd_parms *p, int lfd, ...@@ -140,8 +141,7 @@ static int dump_one_reg_file(struct fd_parms *p, int lfd,
/* Now it might have completely new ID here */ /* Now it might have completely new ID here */
e.id = entry->u.id; e.id = entry->u.id;
} else }
e.id = FD_ID_INVALID;
pr_info("fdinfo: type: %2x len: %2x flags: %4x pos: %8lx addr: %16lx\n", pr_info("fdinfo: type: %2x len: %2x flags: %4x pos: %8lx addr: %16lx\n",
p->type, len, p->flags, p->pos, p->fd_name); p->type, len, p->flags, p->pos, p->fd_name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment