Loading src/client/gkfs_functions.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ namespace gkfs::syscall { * @return 0 on success, -1 on failure */ int gkfs_open(const std::string& path, mode_t mode, int flags, bool force) { gkfs_open(const std::string& path, mode_t mode, int flags) { // metadata object filled during create or stat gkfs::metadata::Metadata md{}; if(flags & O_CREAT) { Loading Loading @@ -156,7 +156,7 @@ gkfs_open(const std::string& path, mode_t mode, int flags, bool force) { md = *md_; #ifdef HAS_RENAME // This is an old file that was renamed which we do not open if(md.blocks() == -1 and !force) { if(md.blocks() == -1) { LOG(DEBUG, "This file was renamed and we do not open. path '{}'", path); Loading Loading
src/client/gkfs_functions.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -125,7 +125,7 @@ namespace gkfs::syscall { * @return 0 on success, -1 on failure */ int gkfs_open(const std::string& path, mode_t mode, int flags, bool force) { gkfs_open(const std::string& path, mode_t mode, int flags) { // metadata object filled during create or stat gkfs::metadata::Metadata md{}; if(flags & O_CREAT) { Loading Loading @@ -156,7 +156,7 @@ gkfs_open(const std::string& path, mode_t mode, int flags, bool force) { md = *md_; #ifdef HAS_RENAME // This is an old file that was renamed which we do not open if(md.blocks() == -1 and !force) { if(md.blocks() == -1) { LOG(DEBUG, "This file was renamed and we do not open. path '{}'", path); Loading