diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-04 22:28:47 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 21:16:52 +0200 |
commit | 05c0ae21c034a6f7c6f4c0c63a31167ebb4b061f (patch) | |
tree | 69c6b35347eeddc49e6ffa2188d4811ce9633c4f /include | |
parent | deal with races between remove_proc_entry() and proc_reg_release() (diff) | |
download | linux-05c0ae21c034a6f7c6f4c0c63a31167ebb4b061f.tar.xz linux-05c0ae21c034a6f7c6f4c0c63a31167ebb4b061f.zip |
try a saner locking for pde_opener...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/proc_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 947ae7eb63ef..2781e498f709 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -65,7 +65,7 @@ struct proc_dir_entry { void *data; read_proc_t *read_proc; atomic_t count; /* use count */ - int pde_users; /* number of callers into module in progress; */ + atomic_t in_use; /* number of callers into module in progress; */ /* negative -> it's going away RSN */ struct completion *pde_unload_completion; struct list_head pde_openers; /* who did ->open, but not ->release */ |