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!