diff options
author | Sage Weil <sage@inktank.com> | 2012-05-19 15:45:00 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-05-23 16:31:42 -0700 |
commit | c498827f04bbce04f5a8a9306335d9bd5a17ef0c (patch) | |
tree | 8575f8835018ff4e9cd1cb273ae1bfab3229a70e /src/os/FileStore.cc | |
parent | b04b73d4736f4220edb524c711cff5643349dc05 (diff) | |
download | ceph-c498827f04bbce04f5a8a9306335d9bd5a17ef0c.tar.gz |
filestore: drop useless mkjournal error check
We don't care!
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/os/FileStore.cc')
-rw-r--r-- | src/os/FileStore.cc | 6 |
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; |