aboutsummaryrefslogtreecommitdiff
path: root/arch/alpha
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-15 18:49:12 -0400
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:59:53 +0200
commitc8956f667d108bad11dc75dc78df9a3932bdadf7 (patch)
tree913f3b5177e1a1acdfde10dfdf07f4472ecf96a7 /arch/alpha
parentf563c55a8b471053aacd0933c08428ece6860ad4 (diff)
introduce ->iterate(), ctx->pos, dir_emit()
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> Git-commit: 83fd542759010949ac7d9638b615fac1bb9744e1 Git-repo: https://android.googlesource.com/kernel/common.git Signed-off-by: Ian Maund <imaund@codeaurora.org>
Diffstat (limited to 'arch/alpha')
0 files changed, 0 insertions, 0 deletions