From 8230cf52041c008ac4fa5b83fe5a388fc249f763 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 6e429f7dc24..ca083118bd2 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -4793,7 +4793,7 @@ void Server::handle_client_openc(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.47.3