Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
neverchanje committed Oct 15, 2018
1 parent 0cc1eb1 commit d4d6f6b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/dist/nfs/nfs_server_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,6 @@ void nfs_service_impl::close_file() // release out-of-date file handle
dsn_now_ms() - fptr->last_access_time > (uint64_t)_opts.file_close_expire_time_ms) {
dinfo("nfs: close file handle %s", it->first.c_str());
it = _handles_map.erase(it);

::dsn::error_code err = dsn_file_close(fptr->file_handle);
dassert(err == ERR_OK, "dsn_file_close failed, err = %s", err.to_string());
} else
it++;
}
Expand Down

0 comments on commit d4d6f6b

Please sign in to comment.