diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-02 18:48:58 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-02 18:48:58 +0100 |
commit | 42eb2bbd5bbc0fe63df3fc73dee94f8df5ea988b (patch) | |
tree | d0913bb278096ffc13c4056d63eb083c9107bafb /utils | |
parent | 7d8518f0af961cbfdcfa22c9e35a9233965ecd0a (diff) | |
download | gemato-42eb2bbd5bbc0fe63df3fc73dee94f8df5ea988b.tar.gz |
recursiveloader: Check for cross-device directories earlier in loop
Check for cross-device directory when starting to process the directory
rather than for each subdirectory to be processed. This will avoid
double stat() call in the future. It also means that cross-device
exceptions are raised a little later, when recurring into the directory
rather than before doing that. However, the starting directory is now
also tested.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions