From: Christopher Hoffman Date: Tue, 24 Sep 2024 15:13:01 +0000 (+0000) Subject: client: Update fscrypt_file when mds info is newer X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=43cf5d61aef5abd96300531e7fe5c3c57263cd6c;p=ceph-ci.git client: Update fscrypt_file when mds info is newer Fixes: https://tracker.ceph.com/issues/68233 Signed-off-by: Christopher Hoffman --- diff --git a/src/client/Client.cc b/src/client/Client.cc index 26002bdd06c..1be9dda7315 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -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; }