diff options
Diffstat (limited to 'fs/hppfs')
-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 { | |||
548 | struct dentry *dentry; | 548 | struct dentry *dentry; |
549 | }; | 549 | }; |
550 | 550 | ||
551 | static int hppfs_filldir(void *d, const char *name, int size, | 551 | static int hppfs_filldir(struct dir_context *ctx, const char *name, int size, |
552 | loff_t offset, u64 inode, unsigned int type) | 552 | loff_t offset, u64 inode, unsigned int type) |
553 | { | 553 | { |
554 | struct hppfs_dirent *dirent = d; | 554 | struct hppfs_dirent *dirent = |
555 | container_of(ctx, struct hppfs_dirent, ctx); | ||
555 | 556 | ||
556 | if (file_removed(dirent->dentry, name)) | 557 | if (file_removed(dirent->dentry, name)) |
557 | return 0; | 558 | return 0; |