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 /include/linux/fs.h | |
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 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 9ab779e8a63c..00c8e4f65cb6 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1467,7 +1467,10 @@ int fiemap_check_flags(struct fiemap_extent_info *fieinfo, u32 fs_flags); | |||
1467 | * This allows the kernel to read directories into kernel space or | 1467 | * This allows the kernel to read directories into kernel space or |
1468 | * to have different dirent layouts depending on the binary type. | 1468 | * to have different dirent layouts depending on the binary type. |
1469 | */ | 1469 | */ |
1470 | typedef int (*filldir_t)(void *, const char *, int, loff_t, u64, unsigned); | 1470 | struct dir_context; |
1471 | typedef int (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, | ||
1472 | unsigned); | ||
1473 | |||
1471 | struct dir_context { | 1474 | struct dir_context { |
1472 | const filldir_t actor; | 1475 | const filldir_t actor; |
1473 | loff_t pos; | 1476 | loff_t pos; |