]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephfs/client: dir_reset_t::reset() - add missing fd reset.
authorIgor Fedotov <igor.fedotov@croit.io>
Thu, 7 Nov 2024 16:02:16 +0000 (19:02 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Mon, 16 Dec 2024 12:51:29 +0000 (15:51 +0300)
Likely https://github.com/ceph/ceph/pull/55619 missed that.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 6f1d21c9ec432941f83d579d64b79b4252f3fc62)

src/client/Client.h

index 765b8d3cafe231cb19597e1de2aecbbe8ef294d0..036a73a3501a350dac6f02684beb14ed45403af5 100644 (file)
@@ -219,6 +219,7 @@ struct dir_result_t {
     ordered_count = 0;
     cache_index = 0;
     buffer.clear();
+    fd = -1;
   }
 
   InodeRef inode;