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 /fs/exportfs | |
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 'fs/exportfs')
-rw-r--r-- | fs/exportfs/expfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c index b01fbfb51f43..a2b350ddd402 100644 --- a/fs/exportfs/expfs.c +++ b/fs/exportfs/expfs.c | |||
@@ -241,10 +241,11 @@ struct getdents_callback { | |||
241 | * A rather strange filldir function to capture | 241 | * A rather strange filldir function to capture |
242 | * the name matching the specified inode number. | 242 | * the name matching the specified inode number. |
243 | */ | 243 | */ |
244 | static int filldir_one(void * __buf, const char * name, int len, | 244 | static int filldir_one(struct dir_context *ctx, const char *name, int len, |
245 | loff_t pos, u64 ino, unsigned int d_type) | 245 | loff_t pos, u64 ino, unsigned int d_type) |
246 | { | 246 | { |
247 | struct getdents_callback *buf = __buf; | 247 | struct getdents_callback *buf = |
248 | container_of(ctx, struct getdents_callback, ctx); | ||
248 | int result = 0; | 249 | int result = 0; |
249 | 250 | ||
250 | buf->sequence++; | 251 | buf->sequence++; |