[CRIU] [PATCH 5/5] test: Add unlink_dir test

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Tue Feb 26 11:10:12 MSK 2019


> +	dirfd3 = open(path_dir3, O_RDONLY | O_DIRECTORY);
> +	if (dirfd3 < 0) {
> +		pr_perror("Can't open %s", path_dir3);
> +		return 1;
> +	}
> +	close(dirfd3);

Not sure if we need these hunk if we close dir3 anyway?



More information about the CRIU mailing list