From 5ab7704896f37a93672b42d39ceb1b6d8b811c0b Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Tue, 28 May 2024 12:20:03 +0800 Subject: [PATCH] mds: cleanup the code to make it to be more readable Fixes: https://tracker.ceph.com/issues/63265 Signed-off-by: Xiubo Li (cherry picked from commit d48b169e40a94b6df578c57bc595187c94ef48f6) --- src/mds/Server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/Server.cc b/src/mds/Server.cc index f52d6a0c08f..32d182ecf5f 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -4804,7 +4804,7 @@ void Server::handle_client_openc(const MDRequestRef& mdr) } 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); -- 2.39.5