diff options
author | Xiubo Li <xiubli@redhat.com> | 2023-06-12 04:50:38 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-11-03 23:28:33 +0100 |
commit | 5995d90d2d19f337df6a50bcf4699ef053214dac (patch) | |
tree | 49f39d48370e22709445eb7d92eaa73d242402a9 /fs/ceph/crypto.c | |
parent | ceph: pass the mdsc to several helpers (diff) | |
download | linux-5995d90d2d19f337df6a50bcf4699ef053214dac.tar.xz linux-5995d90d2d19f337df6a50bcf4699ef053214dac.zip |
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.c | 2 |
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 = { |