diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-03 16:21:05 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-26 21:20:50 +0300 |
commit | 0168b9e38c4213e162b15444c071d4198ff470e8 (patch) | |
tree | 151cef9ad46ce8fda8a088ef14a3dc7da302cee6 /fs/proc/internal.h | |
parent | 988363864132f86d5722dddd7f765080ef271519 (diff) | |
download | linux-0168b9e38c4213e162b15444c071d4198ff470e8.tar.xz |
procfs: switch instantiate_t to d_splice_alias()
... and get rid of pointless struct inode *dir argument of those,
while we are at it.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/internal.h')
-rw-r--r-- | fs/proc/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h index 04a455b9ae69..275b062e58af 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -154,7 +154,7 @@ extern struct dentry *proc_pid_lookup(struct inode *, struct dentry *, unsigned extern loff_t mem_lseek(struct file *, loff_t, int); /* Lookups */ -typedef int instantiate_t(struct inode *, struct dentry *, +typedef struct dentry *instantiate_t(struct dentry *, struct task_struct *, const void *); extern bool proc_fill_cache(struct file *, struct dir_context *, const char *, int, instantiate_t, struct task_struct *, const void *); |