Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
heed the linter
  • Loading branch information
Gabriel Schulhof committed Apr 28, 2020
commit 2525cb9774b4184c2a6fd2f9e6b732cf85dd6d49
4 changes: 2 additions & 2 deletions src/large_pages/node_large_page.cc
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ class MappedFilePointer: public MemoryMapPointer {
size_t offset = 0) {
Debug("Hugepages info: attempting to open %s\n", fname);

do
do {
fd_ = open(fname, O_RDONLY);
while (fd_ == -1 && errno == EINTR);
} while (fd_ == -1 && errno == EINTR);
if (fd_ == -1) goto fail;

struct stat file_info;
Expand Down