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

Cyrill Gorcunov gorcunov at gmail.com
Tue Feb 26 11:23:27 MSK 2019


On Tue, Feb 26, 2019 at 08:10:12AM +0000, Pavel Tikhomirov wrote:
> > +	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?

:) Thanks!


More information about the CRIU mailing list