Skip to content

Commit 7df6ac1

Browse files
committed
Merge PR ceph#60400 into main
* refs/pull/60400/head: mon,cephfs: fix indentation level of a code block Reviewed-by: Venky Shankar <[email protected]> Reviewed-by: Patrick Donnelly <[email protected]>
2 parents dbddf12 + a2566ce commit 7df6ac1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/mon/FSCommands.cc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -385,16 +385,16 @@ class SetHandler : public FileSystemCommandHandler
385385
return -EINVAL;
386386
}
387387

388-
bool confirm = false;
389-
cmd_getval(cmdmap, "yes_i_really_mean_it", confirm);
390-
if (var == "max_mds" && !confirm && mon->mdsmon()->has_any_health_warning()) {
391-
ss << "One or more file system health warnings are present. Modifying "
392-
<< "the file system setting variable \"max_mds\" may not help "
393-
<< "troubleshoot or recover from these warnings and may further "
394-
<< "destabilize the system. If you really wish to proceed, run "
395-
<< "again with --yes-i-really-mean-it";
396-
return -EPERM;
397-
}
388+
bool confirm = false;
389+
cmd_getval(cmdmap, "yes_i_really_mean_it", confirm);
390+
if (var == "max_mds" && !confirm && mon->mdsmon()->has_any_health_warning()) {
391+
ss << "One or more file system health warnings are present. Modifying "
392+
<< "the file system setting variable \"max_mds\" may not help "
393+
<< "troubleshoot or recover from these warnings and may further "
394+
<< "destabilize the system. If you really wish to proceed, run "
395+
<< "again with --yes-i-really-mean-it";
396+
return -EPERM;
397+
}
398398

399399
return set_val(mon, fsmap, op, cmdmap, ss, fsp->get_fscid(), var, val);
400400
}

0 commit comments

Comments
 (0)