]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxcmd: rename args_command to command_iterator
authorDave Chinner <dchinner@redhat.com>
Thu, 12 Jan 2017 20:12:41 +0000 (14:12 -0600)
committerEric Sandeen <sandeen@redhat.com>
Thu, 12 Jan 2017 20:12:41 +0000 (14:12 -0600)
commitef346a25dc992d4e35ce2aec23479c066626b77c
treeb88593ed78af41b8c96cc05eba4b83637f08acf8
parent7a9b7314796f7f9b313d4ec96bd9af40207c9549
libxcmd: rename args_command to command_iterator

It is not particularly easy to understand the function of the
args_command abstraction. it's actually a command iterator interface
that allows callers to specify the target of the command and iterate
the command multiple times over different targets. Rename and
document the abstraction to make this functionality clear.

Signed-Off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/command.h
io/init.c
libxcmd/command.c
quota/init.c