Skip to content

Commit 61d7218

Browse files
committed
MGM: Fix wrong return value check during fsck best effort repair
1 parent 5b1fd3b commit 61d7218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mgm/fsck/FsckEntry.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ FsckEntry::RepairBestEffort()
295295
std::string options = "&mgm.verify.compute.checksum=1"
296296
"&mgm.verify.commit.checksum=1&mgm.verify.commit.size=1";
297297

298-
if (!gOFS->_verifystripe(mFid, lerr, root, ref_fsid, options)) {
298+
if (gOFS->_verifystripe(mFid, lerr, root, ref_fsid, options)) {
299299
eos_err("msg=\"failed verify stripe command\" fxid=%08llx fsid=%lu",
300300
mFid, ref_fsid);
301301
return false;

0 commit comments

Comments
 (0)