summaryrefslogtreecommitdiff
path: root/fs/ceph/crypto.c
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2023-06-12 05:50:38 +0300
committerIlya Dryomov <idryomov@gmail.com>2023-11-04 01:28:33 +0300
commit5995d90d2d19f337df6a50bcf4699ef053214dac (patch)
tree49f39d48370e22709445eb7d92eaa73d242402a9 /fs/ceph/crypto.c
parent197b7d792d6aead2e30d4b2c054ffabae2ed73dc (diff)
downloadlinux-5995d90d2d19f337df6a50bcf4699ef053214dac.tar.xz
ceph: rename _to_client() to _to_fs_client()
We need to covert the inode to ceph_client in the following commit, and will add one new helper for that, here we rename the old helper to _fs_client(). Link: https://tracker.ceph.com/issues/61590 Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Patrick Donnelly <pdonnell@redhat.com> Reviewed-by: Milind Changire <mchangir@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/crypto.c')
-rw-r--r--fs/ceph/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/crypto.c b/fs/ceph/crypto.c
index 5b5112c78462..08c385610731 100644
--- a/fs/ceph/crypto.c
+++ b/fs/ceph/crypto.c
@@ -129,7 +129,7 @@ static bool ceph_crypt_empty_dir(struct inode *inode)
static const union fscrypt_policy *ceph_get_dummy_policy(struct super_block *sb)
{
- return ceph_sb_to_client(sb)->fsc_dummy_enc_policy.policy;
+ return ceph_sb_to_fs_client(sb)->fsc_dummy_enc_policy.policy;
}
static struct fscrypt_operations ceph_fscrypt_ops = {