diff options
Diffstat (limited to 'fs/gfs2/export.c')
-rw-r--r-- | fs/gfs2/export.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/gfs2/export.c b/fs/gfs2/export.c index 8b9b3775e2e7..c41d255b6a7b 100644 --- a/fs/gfs2/export.c +++ b/fs/gfs2/export.c | |||
@@ -69,10 +69,12 @@ struct get_name_filldir { | |||
69 | char *name; | 69 | char *name; |
70 | }; | 70 | }; |
71 | 71 | ||
72 | static int get_name_filldir(void *opaque, const char *name, int length, | 72 | static int get_name_filldir(struct dir_context *ctx, const char *name, |
73 | loff_t offset, u64 inum, unsigned int type) | 73 | int length, loff_t offset, u64 inum, |
74 | unsigned int type) | ||
74 | { | 75 | { |
75 | struct get_name_filldir *gnfd = opaque; | 76 | struct get_name_filldir *gnfd = |
77 | container_of(ctx, struct get_name_filldir, ctx); | ||
76 | 78 | ||
77 | if (inum != gnfd->inum.no_addr) | 79 | if (inum != gnfd->inum.no_addr) |
78 | return 0; | 80 | return 0; |