projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: PPC: Book3S HV: Add support for real mode ICP in XICS emulation
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
nsproxy.c
diff --git
a/kernel/nsproxy.c
b/kernel/nsproxy.c
index b781e66a8f2c4fca3943f2441f7d19296128f525..afc0456f227abe76788ac666f7c1239759b5096e 100644
(file)
--- a/
kernel/nsproxy.c
+++ b/
kernel/nsproxy.c
@@
-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;