Commit 7294f884 authored by Ramon Nou's avatar Ramon Nou
Browse files

reduce printf

parent 8f4c1052
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -443,7 +443,6 @@ is_gkfs_fd(int fd) {
#define GKFS_OPERATION(name, ...)                                              \
    if(CTX->interception_enabled() && is_gkfs_fd(fd)) {                        \
        LOG(DEBUG, "[GKFS] {}", fd);                                           \
        // printf("[GKFS] %d\n", fd);                                             \
        return gkfs::syscall::gkfs_##name(__VA_ARGS__);                        \
    }

@@ -453,7 +452,6 @@ is_gkfs_fd(int fd) {
        switch(resolve_gkfs_path(dirfd, path, resolved)) {                     \
            case PathStatus::Internal:                                         \
                LOG(DEBUG, "[GKFS] {}", resolved);                             \
                // printf("[GKFS] %s\n", resolved.c_str());                       \
                return gkfs::syscall::gkfs_##name(resolved, __VA_ARGS__);      \
            case PathStatus::Error:                                            \
                return -errno;                                                 \
@@ -468,7 +466,6 @@ is_gkfs_fd(int fd) {
        switch(resolve_gkfs_path(dirfd, path, resolved)) {                     \
            case PathStatus::Internal:                                         \
                LOG(DEBUG, "[GKFS] {}", resolved);                             \
                // printf("[GKFS] %s\n", resolved.c_str());                       \
                return gkfs::syscall::gkfs_##name(dirfd, resolved,             \
                                                  __VA_ARGS__);                \
            case PathStatus::Error:                                            \
@@ -484,7 +481,6 @@ is_gkfs_fd(int fd) {
        switch(resolve_gkfs_path(dirfd, path, resolved)) {                     \
            case PathStatus::Internal:                                         \
                LOG(DEBUG, "[GKFS] {}", resolved);                             \
                // printf("[GKFS] %s\n", resolved.c_str());                       \
                return gkfs::syscall::gkfs_##name(resolved);                   \
            case PathStatus::Error:                                            \
                return -errno;                                                 \