crtools: Collect dumping fd parameters into one place
Introduce the fd_parms structure, that contains all we need to describe open fd during dump -- its name (int), pos, flags and id. The read_fd_parms routing fills one once and passes along the stack. This reduces the amount of arguments significantly. Signed-off-by:Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
Showing
Please
register
or
sign in
to comment