Convert the ceph filesystem to the new internal mount API as the old one will be obsoleted and removed. This allows greater flexibility in communication of mount parameters between userspace, the VFS and the filesystem. See Documentation/filesystems/mount_api.txt for more information. [ Numerous string handling, leak and regression fixes; rbd conversion was particularly broken and had to be redone almost from scratch. ]
Showing the changes to include/linux (1 of 8 files). Show all
Unified · Split
| @@ -280,10 +280,12 @@ extern const char *ceph_msg_type_name(int type); · 279 unmodified lines | |||
| 280 | extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid); | 280 | extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid); |
| 281 | extern void *ceph_kvmalloc(size_t size, gfp_t flags); | 281 | extern void *ceph_kvmalloc(size_t size, gfp_t flags); |
| 282 | 282 | ||
| 283 | extern struct ceph_options *ceph_parse_options(char *options, | 283 | struct fs_parameter; |
| 284 | const char *dev_name, const char *dev_name_end, | 284 | struct ceph_options *ceph_alloc_options(void); |
| 285 | int (*parse_extra_token)(char *c, void *private), | 285 | int ceph_parse_mon_ips(const char *buf, size_t len, struct ceph_options *opt, |
| 286 | void *private); | 286 | struct fs_context *fc); |
| 287 | int ceph_parse_param(struct fs_parameter *param, struct ceph_options *opt, | ||
| 288 | struct fs_context *fc); | ||
| 287 | int ceph_print_client_options(struct seq_file *m, struct ceph_client *client, | 289 | int ceph_print_client_options(struct seq_file *m, struct ceph_client *client, |
| 288 | bool show_all); | 290 | bool show_all); |
| 289 | extern void ceph_destroy_options(struct ceph_options *opt); | 291 | extern void ceph_destroy_options(struct ceph_options *opt); |