Commit 89492de3 authored by Pavel Emelyanov's avatar Pavel Emelyanov

files: Real pid on fdinfo_desc is unused

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 66771c8f
...@@ -338,8 +338,6 @@ static int open_fd(int pid, struct fdinfo_entry *fe, ...@@ -338,8 +338,6 @@ static int open_fd(int pid, struct fdinfo_entry *fe,
return -1; return -1;
} }
futex_set_and_wake(&fi->real_pid, getpid());
pr_info("\t%d: Create fd for %lx users %d\n", pid, pr_info("\t%d: Create fd for %lx users %d\n", pid,
fe->addr, futex_get(&fi->users)); fe->addr, futex_get(&fi->users));
......
...@@ -37,7 +37,6 @@ struct fdinfo_desc { ...@@ -37,7 +37,6 @@ struct fdinfo_desc {
u32 type; u32 type;
u64 addr; u64 addr;
int pid; int pid;
futex_t real_pid;
futex_t users; futex_t users;
struct list_head list; struct list_head list;
}; };
......
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