From f297f1adb313abe74bcbdf5e8e614e7011bdc3a0 Mon Sep 17 00:00:00 2001 From: Christopher Hoffman Date: Tue, 24 Sep 2024 15:13:01 +0000 Subject: [PATCH] client: Update fscrypt_file when mds info is newer Fixes: https://tracker.ceph.com/issues/68233 Signed-off-by: Christopher Hoffman --- src/client/Client.cc | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.47.3