projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
proc: proc_pid_ns takes super_block as an argument
[platform/kernel/linux-starfive.git]
/
fs
/
proc
/
thread_self.c
diff --git
a/fs/proc/thread_self.c
b/fs/proc/thread_self.c
index
2493cbb
..
ac284f4
100644
(file)
--- a/
fs/proc/thread_self.c
+++ b/
fs/proc/thread_self.c
@@
-12,7
+12,7
@@
static const char *proc_thread_self_get_link(struct dentry *dentry,
struct inode *inode,
struct delayed_call *done)
{
- struct pid_namespace *ns = proc_pid_ns(inode);
+ struct pid_namespace *ns = proc_pid_ns(inode
->i_sb
);
pid_t tgid = task_tgid_nr_ns(current, ns);
pid_t pid = task_pid_nr_ns(current, ns);
char *name;