Skip to content

Commit d48b169

Browse files
lxbszxiubli
authored andcommitted
mds: cleanup the code to make it to be more readable
Fixes: https://tracker.ceph.com/issues/63265 Signed-off-by: Xiubo Li <[email protected]>
1 parent c8f71d6 commit d48b169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mds/Server.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4811,7 +4811,7 @@ void Server::handle_client_openc(const MDRequestRef& mdr)
48114811
} else if (mdr->client_request->get_connection()->has_feature(CEPH_FEATURE_REPLY_CREATE_INODE)) {
48124812
dout(10) << "adding ino to reply to indicate inode was created" << dendl;
48134813
// add the file created flag onto the reply if create_flags features is supported
4814-
encode(newi->ino(), mdr->reply_extra_bl);
4814+
encode(_inode->ino, mdr->reply_extra_bl);
48154815
}
48164816

48174817
journal_and_reply(mdr, newi, dn, le, fin);

0 commit comments

Comments
 (0)