Merge branches 'timers-urgent-for-linus', 'irq-urgent-for-linus' and 'core-urgent...
[platform/adaptation/renesas_rcar/renesas_kernel.git] / kernel / nsproxy.c
index b781e66..afc0456 100644 (file)
@@ -250,7 +250,7 @@ SYSCALL_DEFINE2(setns, int, fd, int, nstype)
                return PTR_ERR(file);
 
        err = -EINVAL;
-       ei = PROC_I(file->f_dentry->d_inode);
+       ei = PROC_I(file_inode(file));
        ops = ei->ns_ops;
        if (nstype && (ops->type != nstype))
                goto out;