diff options
author | Xiubo Li | 2023-06-12 10:50:38 +0800 |
---|---|---|
committer | Ilya Dryomov | 2023-11-03 23:28:33 +0100 |
commit | 5995d90d2d19f337df6a50bcf4699ef053214dac (patch) | |
tree | 49f39d48370e22709445eb7d92eaa73d242402a9 /fs/ceph/snap.c | |
parent | 197b7d792d6aead2e30d4b2c054ffabae2ed73dc (diff) |
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/snap.c')
-rw-r--r-- | fs/ceph/snap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/snap.c b/fs/ceph/snap.c index 55090e6c9967..d0d3612f28f0 100644 --- a/fs/ceph/snap.c +++ b/fs/ceph/snap.c @@ -964,7 +964,7 @@ static void flush_snaps(struct ceph_mds_client *mdsc) void ceph_change_snap_realm(struct inode *inode, struct ceph_snap_realm *realm) { struct ceph_inode_info *ci = ceph_inode(inode); - struct ceph_mds_client *mdsc = ceph_inode_to_client(inode)->mdsc; + struct ceph_mds_client *mdsc = ceph_inode_to_fs_client(inode)->mdsc; struct ceph_snap_realm *oldrealm = ci->i_snap_realm; lockdep_assert_held(&ci->i_ceph_lock); |