diff options
author | Xiubo Li <xiubli@redhat.com> | 2023-06-09 15:15:47 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-11-03 23:28:33 +0100 |
commit | 197b7d792d6aead2e30d4b2c054ffabae2ed73dc (patch) | |
tree | f034fe5f05587ae6e9f41cbf979cb1ea84ba85eb /fs/ceph/dir.c | |
parent | 5c5f0d2b5f92c47baf82b9b211e27edd7d195158 (diff) | |
download | lwn-197b7d792d6aead2e30d4b2c054ffabae2ed73dc.tar.gz lwn-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/dir.c')
-rw-r--r-- | fs/ceph/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c index 854cbdd66661..fff5cb2df9a8 100644 --- a/fs/ceph/dir.c +++ b/fs/ceph/dir.c @@ -1226,7 +1226,7 @@ static void ceph_async_unlink_cb(struct ceph_mds_client *mdsc, if (result) { int pathlen = 0; u64 base = 0; - char *path = ceph_mdsc_build_path(dentry, &pathlen, + char *path = ceph_mdsc_build_path(mdsc, dentry, &pathlen, &base, 0); /* mark error on parent + clear complete */ |