... and now errorf() et.al. are never called with NULL fs_context, so we can get rid of conditional in those.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -281,11 +281,12 @@ extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid); · 280 unmodified lines | ||
| 281 | 281 | extern void *ceph_kvmalloc(size_t size, gfp_t flags); |
| 282 | 282 | |
| 283 | 283 | struct fs_parameter; |
| 284 | +struct fc_log; | |
| 284 | 285 | struct ceph_options *ceph_alloc_options(void); |
| 285 | 286 | 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); | |
| 287 | 288 | int ceph_parse_param(struct fs_parameter *param, struct ceph_options *opt, |
| 288 | − struct fs_context *fc); | |
| 289 | + struct fc_log *l); | |
| 289 | 290 | int ceph_print_client_options(struct seq_file *m, struct ceph_client *client, |
| 290 | 291 | bool show_all); |
| 291 | 292 | extern void ceph_destroy_options(struct ceph_options *opt); |