]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
client: Update fscrypt_file when mds info is newer
authorChristopher Hoffman <choffman@redhat.com>
Tue, 24 Sep 2024 15:13:01 +0000 (15:13 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Thu, 14 Aug 2025 20:08:09 +0000 (20:08 +0000)
Fixes: https://tracker.ceph.com/issues/68233
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/Client.cc

index 26002bdd06c2d08c5535ece6a07834cfbbad673f..1be9dda7315daf0e5f3707d99fa8f484537abb21 100644 (file)
@@ -1114,6 +1114,7 @@ Inode * Client::add_update_inode(InodeStat *st, utime_t from,
     in->snap_btime = st->snap_btime;
     in->snap_metadata = st->snap_metadata;
     in->fscrypt_auth = st->fscrypt_auth;
+    in->fscrypt_file = st->fscrypt_file;
     in->fscrypt_ctx = in->init_fscrypt_ctx(fscrypt.get());
     need_snapdir_attr_refresh = true;
   }