diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2014-03-12 19:09:38 +0100 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2014-03-12 19:09:38 +0100 |
commit | 7bb03598cf3f692661d9d9af3b059a7b9552d8ab (patch) | |
tree | 1f492d7b013016491d23fc6fa3ba852a6cb9f805 /src/mon | |
parent | Merge pull request #1436 from ceph/wip-7681 (diff) | |
download | ceph-7bb03598cf3f692661d9d9af3b059a7b9552d8ab.tar.xz ceph-7bb03598cf3f692661d9d9af3b059a7b9552d8ab.zip |
OSDMonitor::prepare_pool_op: add missing break in case
CID 1191886 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: This case (value 34) is not terminated by a 'break'
statement.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Diffstat (limited to 'src/mon')
-rw-r--r-- | src/mon/OSDMonitor.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 8a6715a0717..2fa662ae82c 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -4996,6 +4996,7 @@ bool OSDMonitor::prepare_pool_op(MPoolOp *m) _pool_op_reply(m, -ENOTSUP, osdmap.get_epoch()); return false; } + break; case POOL_OP_CREATE_UNMANAGED_SNAP: // but we will allow creating an unmanaged snapshot on any pool // as long as it is not in 'pool' snaps mode. |