Fixes: https://tracker.ceph.com/issues/63265
Signed-off-by: Xiubo Li <xiubli@redhat.com>
} else 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;
// add the file created flag onto the reply if create_flags features is supported
- encode(newi->ino(), mdr->reply_extra_bl);
+ encode(_inode->ino, mdr->reply_extra_bl);
}
journal_and_reply(mdr, newi, dn, le, fin);