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-Tag: testing/wip-vshankar-testing-20260120.085915-debug^2~13^2~102 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f297f1adb313abe74bcbdf5e8e614e7011bdc3a0;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 0bb0ebb9ef4..9fdf3514ed4 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -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; }