History

ceph_parse_param(), ceph_parse_mon_ips(): switch to passing fc_log

... and now errorf() et.al. are never called with NULL fs_context, so we can get rid of conditional in those.

Al Viro committed 6 years ago

Commit c80c98f1 parent 7f5d3813 files · +9 −8Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/ceph/libceph.h+3−2
@@ -281,11 +281,12 @@ extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid); · 280 unmodified lines
281extern void *ceph_kvmalloc(size_t size, gfp_t flags);281extern void *ceph_kvmalloc(size_t size, gfp_t flags);
282 282
283struct fs_parameter;283struct fs_parameter;
284struct fc_log;
284struct ceph_options *ceph_alloc_options(void);285struct ceph_options *ceph_alloc_options(void);
285int ceph_parse_mon_ips(const char *buf, size_t len, struct ceph_options *opt,286int ceph_parse_mon_ips(const char *buf, size_t len, struct ceph_options *opt,
286 struct fs_context *fc);287 struct fc_log *l);
287int ceph_parse_param(struct fs_parameter *param, struct ceph_options *opt,288int ceph_parse_param(struct fs_parameter *param, struct ceph_options *opt,
288 struct fs_context *fc);289 struct fc_log *l);
289int ceph_print_client_options(struct seq_file *m, struct ceph_client *client,290int ceph_print_client_options(struct seq_file *m, struct ceph_client *client,
290 bool show_all);291 bool show_all);
291extern void ceph_destroy_options(struct ceph_options *opt);292extern void ceph_destroy_options(struct ceph_options *opt);