Loading CHANGELOG.md +2 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Tests check ret for -1 instead of 10000 fd ([!320](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/320)) - Allow some more script tests to run as pthread_at_fork solved some issues. - Return EINVAL is better than ENOTSUP on internal readlink ([!223](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/223)) - resolve_new accepts the parameter resolve_last_link,([!209](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/209)) - This solves an issue with the ci when looks at gcl-build directory (mainly lxstat) ### Fixed Loading include/client/path.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ std::pair<bool, std::string> resolve(const std::string& path, bool resolve_last_link = true); std::pair<bool, std::string> resolve_new(const std::string& path); resolve_new(const std::string& path, bool resolve_last_link = true); [[deprecated( "Use GKFS_USE_LEGACY_PATH_RESOLVE to use old implementation")]] bool Loading src/client/path.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -141,12 +141,12 @@ resolve(const string& path, bool resolve_last_link) { bool is_in_path = resolve(path, resolved, resolve_last_link); return make_pair(is_in_path, resolved); #else return resolve_new(path); return resolve_new(path, resolve_last_link); #endif } pair<bool, string> resolve_new(const string& path) { resolve_new(const string& path, bool resolve_last_link) { LOG(DEBUG, "path: \"{}\", mountdir: \"{}\"", path, CTX->mountdir()); if(path.empty()) { Loading Loading @@ -193,7 +193,9 @@ resolve_new(const string& path) { start = end; #ifdef GKFS_FOLLOW_EXTERNAL_SYMLINKS if(resolve_last_link) { resolved = follow_symlinks(resolved); } #endif } Loading Loading
CHANGELOG.md +2 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Tests check ret for -1 instead of 10000 fd ([!320](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/320)) - Allow some more script tests to run as pthread_at_fork solved some issues. - Return EINVAL is better than ENOTSUP on internal readlink ([!223](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/223)) - resolve_new accepts the parameter resolve_last_link,([!209](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/209)) - This solves an issue with the ci when looks at gcl-build directory (mainly lxstat) ### Fixed Loading
include/client/path.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ std::pair<bool, std::string> resolve(const std::string& path, bool resolve_last_link = true); std::pair<bool, std::string> resolve_new(const std::string& path); resolve_new(const std::string& path, bool resolve_last_link = true); [[deprecated( "Use GKFS_USE_LEGACY_PATH_RESOLVE to use old implementation")]] bool Loading
src/client/path.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -141,12 +141,12 @@ resolve(const string& path, bool resolve_last_link) { bool is_in_path = resolve(path, resolved, resolve_last_link); return make_pair(is_in_path, resolved); #else return resolve_new(path); return resolve_new(path, resolve_last_link); #endif } pair<bool, string> resolve_new(const string& path) { resolve_new(const string& path, bool resolve_last_link) { LOG(DEBUG, "path: \"{}\", mountdir: \"{}\"", path, CTX->mountdir()); if(path.empty()) { Loading Loading @@ -193,7 +193,9 @@ resolve_new(const string& path) { start = end; #ifdef GKFS_FOLLOW_EXTERNAL_SYMLINKS if(resolve_last_link) { resolved = follow_symlinks(resolved); } #endif } Loading