diff options
author | 2021-07-14 15:35:51 +0530 | |
---|---|---|
committer | 2022-01-13 13:40:06 +0100 | |
commit | 4153c7fc937a2afa077dbdb9fe3189b9981f423c (patch) | |
tree | de66cd33466d1861d8119318e9d658786691cdee /include/linux/ceph | |
parent | libceph: generalize addr/ip parsing based on delimiter (diff) | |
download | linux-4153c7fc937a2afa077dbdb9fe3189b9981f423c.tar.gz linux-4153c7fc937a2afa077dbdb9fe3189b9981f423c.tar.bz2 linux-4153c7fc937a2afa077dbdb9fe3189b9981f423c.zip |
libceph: rename parse_fsid() to ceph_parse_fsid() and export
... as it is too generic. also, use __func__ when logging
rather than hardcoding the function name.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/libceph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index c72285d8594e..644f224eccf7 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h @@ -296,6 +296,7 @@ extern bool libceph_compatible(void *data); extern const char *ceph_msg_type_name(int type); extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid); extern void *ceph_kvmalloc(size_t size, gfp_t flags); +extern int ceph_parse_fsid(const char *str, struct ceph_fsid *fsid); struct fs_parameter; struct fc_log; |