diff --git a/src/client/hooks.cpp b/src/client/hooks.cpp index dbe2b8655f782decd5122031f09a2e89e5ff3df6..dc5db13778d228b889d5a9f56b9ebe8f10dc8692 100644 --- a/src/client/hooks.cpp +++ b/src/client/hooks.cpp @@ -219,8 +219,7 @@ int hook_pwritev(unsigned long fd, const struct iovec* iov, unsigned long iovcnt __func__, fd, fmt::ptr(iov), iovcnt, pos_l, pos_h); if (CTX->file_map()->exist(fd)) { - LOG(WARNING, "{}() Not supported", __func__); - return -ENOTSUP; + return with_errno(gkfs::syscall::gkfs_pwritev(fd, iov, iovcnt, pos_l)); } return syscall_no_intercept(SYS_pwritev, fd, iov, iovcnt); }