New method - ->iterate(file, ctx). That's the replacement for ->readdir(); it takes callback from ctx->actor, uses ctx->pos instead of file->f_pos and calls dir_emit(ctx, ...) instead of filldir(data, ...). It does *not* update file->f_pos (or look at it, for that matter); iterate_dir() does the update. Note that dir_emit() takes the offset from ctx->pos (and eventually filldir_t will lose that argument). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> |
||
|---|---|---|
| .. | ||
| cache.c | ||
| cnode.c | ||
| coda_cache.h | ||
| coda_fs_i.h | ||
| coda_int.h | ||
| coda_linux.c | ||
| coda_linux.h | ||
| dir.c | ||
| file.c | ||
| inode.c | ||
| Kconfig | ||
| Makefile | ||
| pioctl.c | ||
| psdev.c | ||
| symlink.c | ||
| sysctl.c | ||
| upcall.c | ||