From 6f1d21c9ec432941f83d579d64b79b4252f3fc62 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Thu, 7 Nov 2024 19:02:16 +0300 Subject: [PATCH] cephfs/client: dir_reset_t::reset() - add missing fd reset. Likely https://github.com/ceph/ceph/pull/55619 missed that. Signed-off-by: Igor Fedotov --- src/client/Client.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/Client.h b/src/client/Client.h index f8c39e2fdd6ab..d5108c1226235 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -219,6 +219,7 @@ struct dir_result_t { ordered_count = 0; cache_index = 0; buffer.clear(); + fd = -1; } InodeRef inode; -- 2.39.5