summaryrefslogtreecommitdiff
path: root/src/os/FileStore.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/FileStore.cc')
-rw-r--r--src/os/FileStore.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc
index 9c2d8073ac3..3bf22f1ae17 100644
--- a/src/os/FileStore.cc
+++ b/src/os/FileStore.cc
@@ -1098,11 +1098,7 @@ int FileStore::mkjournal()
TEMP_FAILURE_RETRY(::close(fd));
return ret;
}
- if (TEMP_FAILURE_RETRY(::close(fd))) {
- int err = errno;
- derr << "FileStore::mkjournal: close error: " << cpp_strerror(err) << dendl;
- return -err;
- }
+ TEMP_FAILURE_RETRY(::close(fd));
ret = 0;