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
281281 extern void *ceph_kvmalloc(size_t size, gfp_t flags);
282282
283283 struct fs_parameter;
284+struct fc_log;
284285 struct ceph_options *ceph_alloc_options(void);
285286 int ceph_parse_mon_ips(const char *buf, size_t len, struct ceph_options *opt,
286− struct fs_context *fc);
287+ struct fc_log *l);
287288 int ceph_parse_param(struct fs_parameter *param, struct ceph_options *opt,
288− struct fs_context *fc);
289+ struct fc_log *l);
289290 int ceph_print_client_options(struct seq_file *m, struct ceph_client *client,
290291 bool show_all);
291292 extern void ceph_destroy_options(struct ceph_options *opt);