diff options
author | Xiubo Li <xiubli@redhat.com> | 2023-06-09 09:15:47 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-11-03 23:28:33 +0100 |
commit | 197b7d792d6aead2e30d4b2c054ffabae2ed73dc (patch) | |
tree | f034fe5f05587ae6e9f41cbf979cb1ea84ba85eb /fs/ceph/mdsmap.c | |
parent | libceph: add doutc and *_client debug macros support (diff) | |
download | linux-197b7d792d6aead2e30d4b2c054ffabae2ed73dc.tar.xz linux-197b7d792d6aead2e30d4b2c054ffabae2ed73dc.zip |
ceph: pass the mdsc to several helpers
We will use the 'mdsc' to get the global_id in the following commits.
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/mdsmap.c')
-rw-r--r-- | fs/ceph/mdsmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/mdsmap.c b/fs/ceph/mdsmap.c index 7dac21ee6ce7..6cbec7aed5a0 100644 --- a/fs/ceph/mdsmap.c +++ b/fs/ceph/mdsmap.c @@ -114,7 +114,8 @@ bad: * Ignore any fields we don't care about (there are quite a few of * them). */ -struct ceph_mdsmap *ceph_mdsmap_decode(void **p, void *end, bool msgr2) +struct ceph_mdsmap *ceph_mdsmap_decode(struct ceph_mds_client *mdsc, void **p, + void *end, bool msgr2) { struct ceph_mdsmap *m; const void *start = *p; |