diff options
author | David Howells <dhowells@redhat.com> | 2019-03-25 16:38:32 +0000 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-11-27 22:28:37 +0100 |
commit | 82995cc6c5ae4bf4d72edef381a085e52d5b5905 (patch) | |
tree | 5f0db4dd6bd621b969169a37e9edac2f432a3743 /fs/ceph/cache.h | |
parent | 196e2d6d0252d37be385c73f64fc8f5787a52066 (diff) | |
download | linux-82995cc6c5ae4bf4d72edef381a085e52d5b5905.tar.bz2 |
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. ]
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/cache.h')
-rw-r--r-- | fs/ceph/cache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ceph/cache.h b/fs/ceph/cache.h index e486fac3434d..89dbdd1eb14a 100644 --- a/fs/ceph/cache.h +++ b/fs/ceph/cache.h @@ -16,7 +16,7 @@ extern struct fscache_netfs ceph_cache_netfs; int ceph_fscache_register(void); void ceph_fscache_unregister(void); -int ceph_fscache_register_fs(struct ceph_fs_client* fsc); +int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc); void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc); void ceph_fscache_register_inode_cookie(struct inode *inode); @@ -88,7 +88,8 @@ static inline void ceph_fscache_unregister(void) { } -static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc) +static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc, + struct fs_context *fc) { return 0; } |