Loading src/client/hooks.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -636,10 +636,10 @@ hook_getdents(unsigned int fd, struct linux_dirent* dirp, unsigned int count) { /* * dirs are handled in fuse */ if(CTX->file_map()->exist(fd)) { return with_errno(gkfs::syscall::gkfs_getdents(fd, dirp, count)); } */ return syscall_no_intercept_wrapper(SYS_getdents, fd, dirp, count); } #endif Loading @@ -653,10 +653,10 @@ hook_getdents64(unsigned int fd, struct linux_dirent64* dirp, /* * dirs are handled in fuse */ if(CTX->file_map()->exist(fd)) { return with_errno(gkfs::syscall::gkfs_getdents64(fd, dirp, count)); } */ return syscall_no_intercept_wrapper(SYS_getdents64, fd, dirp, count); } Loading Loading
src/client/hooks.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -636,10 +636,10 @@ hook_getdents(unsigned int fd, struct linux_dirent* dirp, unsigned int count) { /* * dirs are handled in fuse */ if(CTX->file_map()->exist(fd)) { return with_errno(gkfs::syscall::gkfs_getdents(fd, dirp, count)); } */ return syscall_no_intercept_wrapper(SYS_getdents, fd, dirp, count); } #endif Loading @@ -653,10 +653,10 @@ hook_getdents64(unsigned int fd, struct linux_dirent64* dirp, /* * dirs are handled in fuse */ if(CTX->file_map()->exist(fd)) { return with_errno(gkfs::syscall::gkfs_getdents64(fd, dirp, count)); } */ return syscall_no_intercept_wrapper(SYS_getdents64, fd, dirp, count); } Loading