try a saner locking for pde_opener...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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 *);
|
||||
|
Reference in New Issue
Block a user