diff options
| author | Miklos Szeredi <[email protected]> | 2014-10-30 16:37:34 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2014-10-31 21:48:54 +0000 |
| commit | ac7576f4b1da8c9c6bc1ae026c2b9e86ae617ba5 (patch) | |
| tree | d1bc42645ba37d31ce4cd2208f8e4ab14d47467c /fs/hppfs/hppfs.c | |
| parent | ovl: initialize ->is_cursor (diff) | |
| download | kernel-ac7576f4b1da8c9c6bc1ae026c2b9e86ae617ba5.tar.gz kernel-ac7576f4b1da8c9c6bc1ae026c2b9e86ae617ba5.zip | |
vfs: make first argument of dir_context.actor typed
Signed-off-by: Miklos Szeredi <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/hppfs/hppfs.c')
| -rw-r--r-- | fs/hppfs/hppfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index 4338ff32959d..5f2755117ce7 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c @@ -548,10 +548,11 @@ struct hppfs_dirent { struct dentry *dentry; }; -static int hppfs_filldir(void *d, const char *name, int size, +static int hppfs_filldir(struct dir_context *ctx, const char *name, int size, loff_t offset, u64 inode, unsigned int type) { - struct hppfs_dirent *dirent = d; + struct hppfs_dirent *dirent = + container_of(ctx, struct hppfs_dirent, ctx); if (file_removed(dirent->dentry, name)) return 0; |
