// make sure this inode gets into the journal
le->metablob.add_opened_ino(in->ino());
- LogSegment *ls = mds->mdlog->get_current_segment();
- ls->open_files.push_back(&in->item_open_file);
- C_MDS_openc_finish *fin = new C_MDS_openc_finish(this, mdr, dn, in, follows);
+ C_MDS_openc_finish *fin = new C_MDS_openc_finish(this, mdr, dn, in);
if (mdr->client_request->get_connection()->has_feature(CEPH_FEATURE_REPLY_CREATE_INODE)) {
dout(10) << "adding ino to reply to indicate inode was created" << dendl;