diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-15 11:15:20 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 12:57:18 +0400 |
commit | c52a47ace7ef58cbe06e6b48190fee7073dceccc (patch) | |
tree | 9a315f2905c2cb699e3572f192d574de0047f5a3 /fs/proc/internal.h | |
parent | db963164873f04d7fbdd418b4d023e2b3dee2945 (diff) | |
download | kernel_goldelico_gta04-c52a47ace7ef58cbe06e6b48190fee7073dceccc.zip kernel_goldelico_gta04-c52a47ace7ef58cbe06e6b48190fee7073dceccc.tar.gz kernel_goldelico_gta04-c52a47ace7ef58cbe06e6b48190fee7073dceccc.tar.bz2 |
proc_fill_cache(): just make instantiate_t return int
all instances always return ERR_PTR(-E...) or NULL, anyway
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 4eae2e1..651d09a 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -170,7 +170,7 @@ extern struct dentry *proc_pid_lookup(struct inode *, struct dentry *, unsigned extern loff_t mem_lseek(struct file *, loff_t, int); /* Lookups */ -typedef struct dentry *instantiate_t(struct inode *, struct dentry *, +typedef int instantiate_t(struct inode *, 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 *); |