aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/osf_sys.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2014-10-30 12:37:34 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-31 17:48:54 -0400
commitac7576f4b1da8c9c6bc1ae026c2b9e86ae617ba5 (patch)
treed1bc42645ba37d31ce4cd2208f8e4ab14d47467c /arch/alpha/kernel/osf_sys.c
parent9f2f7d4c8dfcf4617af5de6ea381b91deac3db48 (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/osf_sys.c')
-rw-r--r--arch/alpha/kernel/osf_sys.c7
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
106static int 106static int
107osf_filldir(void *__buf, const char *name, int namlen, loff_t offset, 107osf_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