X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fproc%2Finode.c;h=c6b4fa7e3b49e9a2625bf3a76465c85d7df7eba2;hb=2d51b75370d83535883c66521b03fcd6a1f1f68d;hp=8bb03f056c282ec1c0b4b256c5f4ed4551182f1c;hpb=15d3b4a26291c170563e2b25ded5de1324f93959;p=linux-2.6-omap-h63xx.git diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 8bb03f056c2..c6b4fa7e3b4 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -342,7 +342,7 @@ static int proc_reg_open(struct inode *inode, struct file *file) if (!pde->proc_fops) { spin_unlock(&pde->pde_unload_lock); kfree(pdeo); - return rv; + return -EINVAL; } pde->pde_users++; open = pde->proc_fops->open;