mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
mds: fix ESessions event type
Using the singular event type meant trying to decode as an ESession (and failing!). Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
44587aaf5c
commit
afa2d2fea1
@ -30,9 +30,9 @@ class ESession : public LogEvent {
|
||||
version_t inotablev;
|
||||
|
||||
public:
|
||||
ESession() : LogEvent(EVENT_SESSION) { }
|
||||
ESession() : LogEvent(EVENT_SESSIONS) { }
|
||||
ESession(entity_inst_t inst, bool o, version_t v) :
|
||||
LogEvent(EVENT_SESSION),
|
||||
LogEvent(EVENT_SESSIONS),
|
||||
client_inst(inst),
|
||||
open(o),
|
||||
cmapv(v),
|
||||
@ -40,7 +40,7 @@ class ESession : public LogEvent {
|
||||
}
|
||||
ESession(entity_inst_t inst, bool o, version_t v,
|
||||
const interval_set<inodeno_t>& i, version_t iv) :
|
||||
LogEvent(EVENT_SESSION),
|
||||
LogEvent(EVENT_SESSIONS),
|
||||
client_inst(inst),
|
||||
open(o),
|
||||
cmapv(v),
|
||||
|
Loading…
Reference in New Issue
Block a user