|
@@ -147,7 +147,7 @@ static void close_pdeo(struct proc_dir_entry *pde, struct pde_opener *pdeo)
|
|
spin_lock(&pde->pde_unload_lock);
|
|
spin_lock(&pde->pde_unload_lock);
|
|
} else {
|
|
} else {
|
|
struct file *file;
|
|
struct file *file;
|
|
- pdeo->closing = 1;
|
|
|
|
|
|
+ pdeo->closing = true;
|
|
spin_unlock(&pde->pde_unload_lock);
|
|
spin_unlock(&pde->pde_unload_lock);
|
|
file = pdeo->file;
|
|
file = pdeo->file;
|
|
pde->proc_fops->release(file_inode(file), file);
|
|
pde->proc_fops->release(file_inode(file), file);
|