]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Tue, 3 Dec 2024 12:35:52 +0000 (15:35 +0300)
Likely https://github.com/ceph/ceph/pull/55619 missed that.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/client/Client.h

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