mirror of
https://github.com/ceph/ceph
synced 2025-03-05 07:48:55 +00:00
mds: fix shadow
Coverity cid 29 Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
parent
09b08c5d34
commit
85496ffa53
@ -556,10 +556,10 @@ bool MDSMonitor::preprocess_command(MMonCommand *m)
|
||||
if (!b.length()) {
|
||||
r = -ENOENT;
|
||||
} else {
|
||||
MDSMap m(g_ceph_context);
|
||||
m.decode(b);
|
||||
m.encode(rdata);
|
||||
ss << "got mdsmap epoch " << m.get_epoch();
|
||||
MDSMap mm(g_ceph_context);
|
||||
mm.decode(b);
|
||||
mm.encode(rdata);
|
||||
ss << "got mdsmap epoch " << mm.get_epoch();
|
||||
}
|
||||
} else {
|
||||
mdsmap.encode(rdata);
|
||||
|
Loading…
Reference in New Issue
Block a user