aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c
index 74b48cfa1bb2..7ed72d6c1c6f 100644
--- a/fs/proc/inode.c
+++ b/fs/proc/inode.c
@@ -319,7 +319,7 @@ static int proc_reg_open(struct inode *inode, struct file *file)
319 if (!pde->proc_fops) { 319 if (!pde->proc_fops) {
320 spin_unlock(&pde->pde_unload_lock); 320 spin_unlock(&pde->pde_unload_lock);
321 kfree(pdeo); 321 kfree(pdeo);
322 return -EINVAL; 322 return -ENOENT;
323 } 323 }
324 pde->pde_users++; 324 pde->pde_users++;
325 open = pde->proc_fops->open; 325 open = pde->proc_fops->open;