commit | 05c0ae21c034a6f7c6f4c0c63a31167ebb4b061f | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Apr 04 16:28:47 2013 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Apr 09 15:16:52 2013 -0400 |
tree | 69c6b35347eeddc49e6ffa2188d4811ce9633c4f | |
parent | ca469f35a8e9ef12571a4b80ac6d7fdc0260fb44 [diff] [blame] |
try a saner locking for pde_opener... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/proc/internal.h b/fs/proc/internal.h index e2fa934..46a7e2a 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h
@@ -153,8 +153,8 @@ struct pde_opener { struct file *file; struct list_head lh; - int count; /* number of threads in close_pdeo() */ - struct mutex mutex; + int closing; + struct completion *c; }; ssize_t __proc_file_read(struct file *, char __user *, size_t, loff_t *);