diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2014-10-30 12:37:34 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-31 17:48:54 -0400 |
commit | ac7576f4b1da8c9c6bc1ae026c2b9e86ae617ba5 (patch) | |
tree | d1bc42645ba37d31ce4cd2208f8e4ab14d47467c /arch/alpha/kernel | |
parent | 9f2f7d4c8dfcf4617af5de6ea381b91deac3db48 (diff) |
vfs: make first argument of dir_context.actor typed
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/alpha/kernel')
-rw-r--r-- | arch/alpha/kernel/osf_sys.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index f9c732e18284..e51f578636a5 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c | |||
@@ -104,11 +104,12 @@ struct osf_dirent_callback { | |||
104 | }; | 104 | }; |
105 | 105 | ||
106 | static int | 106 | static int |
107 | osf_filldir(void *__buf, const char *name, int namlen, loff_t offset, | 107 | osf_filldir(struct dir_context *ctx, const char *name, int namlen, |
108 | u64 ino, unsigned int d_type) | 108 | loff_t offset, u64 ino, unsigned int d_type) |
109 | { | 109 | { |
110 | struct osf_dirent __user *dirent; | 110 | struct osf_dirent __user *dirent; |
111 | struct osf_dirent_callback *buf = (struct osf_dirent_callback *) __buf; | 111 | struct osf_dirent_callback *buf = |
112 | container_of(ctx, struct osf_dirent_callback, ctx); | ||
112 | unsigned int reclen = ALIGN(NAME_OFFSET + namlen + 1, sizeof(u32)); | 113 | unsigned int reclen = ALIGN(NAME_OFFSET + namlen + 1, sizeof(u32)); |
113 | unsigned int d_ino; | 114 | unsigned int d_ino; |
114 | 115 | ||