]> 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>
Wed, 5 Nov 2025 13:59:34 +0000 (13:59 +0000)
Fixes: https://tracker.ceph.com/issues/68233
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/Client.cc

index 0bb0ebb9ef4de2910e1865266fceeeee93edba5a..9fdf3514ed484557650a9b4a371220406fb10ecb 100644 (file)
@@ -1134,6 +1134,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;
   }