Loading CHANGELOG.md +2 −1 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Changed - 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)) ### Fixed Loading src/client/hooks.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -801,8 +801,7 @@ hook_readlinkat(int dirfd, const char* cpath, char* buf, int bufsiz) { return -ENOTDIR; case gkfs::preload::RelativizeStatus::internal: LOG(WARNING, "{}() not supported", __func__); return -ENOTSUP; return -EINVAL; default: LOG(ERROR, "{}() relativize status unknown: {}", __func__); Loading tests/integration/harness/gkfs.io/syscall_coverage.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -314,7 +314,7 @@ syscall_coverage_exec(const syscall_coverage_options& opts) { // readlinkat rv = ::readlinkat(AT_FDCWD, opts.pathname.c_str(), buf, sizeof(buf)); if(errno != ENOTSUP) { if(errno != EINVAL) { output("readlinkat", rv, opts); return; } Loading Loading
CHANGELOG.md +2 −1 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Changed - 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)) ### Fixed Loading
src/client/hooks.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -801,8 +801,7 @@ hook_readlinkat(int dirfd, const char* cpath, char* buf, int bufsiz) { return -ENOTDIR; case gkfs::preload::RelativizeStatus::internal: LOG(WARNING, "{}() not supported", __func__); return -ENOTSUP; return -EINVAL; default: LOG(ERROR, "{}() relativize status unknown: {}", __func__); Loading
tests/integration/harness/gkfs.io/syscall_coverage.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -314,7 +314,7 @@ syscall_coverage_exec(const syscall_coverage_options& opts) { // readlinkat rv = ::readlinkat(AT_FDCWD, opts.pathname.c_str(), buf, sizeof(buf)); if(errno != ENOTSUP) { if(errno != EINVAL) { output("readlinkat", rv, opts); return; } Loading