NULL "struct inode *" means VFS passed NULL inode to ->open.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
struct inode *inode = m->private;
struct task_struct *p;
struct inode *inode = m->private;
struct task_struct *p;
p = get_proc_task(inode);
if (!p)
return -ESRCH;
p = get_proc_task(inode);
if (!p)
return -ESRCH;
struct inode *inode = file->f_path.dentry->d_inode;
struct task_struct *p;
struct inode *inode = file->f_path.dentry->d_inode;
struct task_struct *p;
p = get_proc_task(inode);
if (!p)
return -ESRCH;
p = get_proc_task(inode);
if (!p)
return -ESRCH;