diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-04 16:28:47 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 15:16:52 -0400 |
commit | 05c0ae21c034a6f7c6f4c0c63a31167ebb4b061f (patch) | |
tree | 69c6b35347eeddc49e6ffa2188d4811ce9633c4f /fs/proc/internal.h | |
parent | ca469f35a8e9ef12571a4b80ac6d7fdc0260fb44 (diff) | |
download | op-kernel-dev-05c0ae21c034a6f7c6f4c0c63a31167ebb4b061f.zip op-kernel-dev-05c0ae21c034a6f7c6f4c0c63a31167ebb4b061f.tar.gz |
try a saner locking for pde_opener...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/internal.h')
-rw-r--r-- | fs/proc/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ int proc_readdir_de(struct proc_dir_entry *de, struct file *filp, void *dirent, 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 *); |