History

libceph, rbd, ceph: convert to use the new mount API

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. ]

David Howells committed 7 years ago

Commit 82995cc1 parent 196e2d68 files · +681 −673Browse files

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

Unified · Split

include/linux/ceph/libceph.h+6−4
@@ -280,10 +280,12 @@ extern const char *ceph_msg_type_name(int type); · 279 unmodified lines
280280 extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid);
281281 extern void *ceph_kvmalloc(size_t size, gfp_t flags);
282282
283−extern struct ceph_options *ceph_parse_options(char *options,
284− const char *dev_name, const char *dev_name_end,
285− int (*parse_extra_token)(char *c, void *private),
286− void *private);
283+struct fs_parameter;
284+struct ceph_options *ceph_alloc_options(void);
285+int ceph_parse_mon_ips(const char *buf, size_t len, struct ceph_options *opt,
286+ struct fs_context *fc);
287+int ceph_parse_param(struct fs_parameter *param, struct ceph_options *opt,
288+ struct fs_context *fc);
287289 int ceph_print_client_options(struct seq_file *m, struct ceph_client *client,
288290 bool show_all);
289291 extern void ceph_destroy_options(struct ceph_options *opt);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t