diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2015-01-22 14:08:16 -0500 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-27 19:39:53 +0200 |
| commit | 70d9ee8808b252acefe0113e256f998028e308c8 (patch) | |
| tree | 722cdf3a8f4c616469dd093ed39ee535991ea152 /include/linux/fs.h | |
| parent | d75df15e1d1bcbfe5c20a0bcb4d0762401650f5e (diff) | |
ext4: use old interface for ext4_readdir()
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 4dc48e4af..9bfff5d2b 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1536,6 +1536,7 @@ int fiemap_check_flags(struct fiemap_extent_info *fieinfo, u32 fs_flags); typedef int (*filldir_t)(void *, const char *, int, loff_t, u64, unsigned); struct dir_context { const filldir_t actor; + void *dirent; loff_t pos; bool romnt; }; @@ -1544,7 +1545,7 @@ static inline bool dir_emit(struct dir_context *ctx, const char *name, int namelen, u64 ino, unsigned type) { - return ctx->actor(ctx, name, namelen, ctx->pos, ino, type) == 0; + return ctx->actor(ctx->dirent, name, namelen, ctx->pos, ino, type) == 0; } struct block_device_operations; |
