mds: fix session close ino release journaling

This commit is contained in:
Sage Weil 2009-07-06 09:18:50 -07:00
parent 661b6bc4e1
commit b042df7a80

View File

@ -151,9 +151,7 @@ public:
C_MDS_session_finish(MDS *m, Session *se, bool s, version_t mv) :
mds(m), session(se), open(s), cmapv(mv), inotablev(0) { }
C_MDS_session_finish(MDS *m, Session *se, bool s, version_t mv, interval_set<inodeno_t>& i, version_t iv) :
mds(m), session(se), open(s), cmapv(mv), inotablev(iv) {
inos.swap(i);
}
mds(m), session(se), open(s), cmapv(mv), inos(i), inotablev(iv) { }
void finish(int r) {
assert(r == 0);
mds->server->_session_logged(session, open, cmapv, inos, inotablev);