mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +00:00
files: Use FD_PARMS_INIT in dump_one_file
For consistency sake. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
1ead3d79f7
commit
e2e4fb1218
2
files.c
2
files.c
@@ -210,7 +210,7 @@ static int dump_chrdev(struct fd_parms *p, int lfd, const int fdinfo)
|
||||
static int dump_one_file(struct parasite_ctl *ctl, int fd, int lfd, struct fd_opts *opts,
|
||||
const int fdinfo)
|
||||
{
|
||||
struct fd_parms p;
|
||||
struct fd_parms p = FD_PARMS_INIT;
|
||||
struct statfs statfs;
|
||||
|
||||
if (fill_fd_params(ctl, fd, lfd, opts, &p) < 0) {
|
||||
|
Reference in New Issue
Block a user