summaryrefslogtreecommitdiff
path: root/include/linux/pid.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2020-06-16 13:16:24 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2020-06-16 13:16:24 +1000
commit70006740ef82246bc6ecc4d8da0fa9d5553a5004 (patch)
tree30dc62518df5cd4537ce0a0384bd52f550c89da4 /include/linux/pid.h
parent499cb7f8839d80fdf14ae68563213a1bdf8e8fce (diff)
parent2c50e42e7dab0821f55dbf809080668ef1cf03d7 (diff)
Merge branch 'akpm/master'
Diffstat (limited to 'include/linux/pid.h')
-rw-r--r--include/linux/pid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pid.h b/include/linux/pid.h
index 176d6cf80e7c..86e0e7cb7872 100644
--- a/include/linux/pid.h
+++ b/include/linux/pid.h
@@ -77,6 +77,7 @@ extern const struct file_operations pidfd_fops;
struct file;
extern struct pid *pidfd_pid(const struct file *file);
+struct pid *pidfd_get_pid(unsigned int fd);
static inline struct pid *get_pid(struct pid *pid)
{