Changed some return codes to status_t where appropriate.
Renamed vfs_bootstrap_all_filesystems() to vfs_bootstrap_file_systems(). Renamed vfs_register_filesystem() to vfs_register_file_system(). Added new call vfs_mount_boot_file_system(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7421 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
|
** Copyright 2002-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
|
**
|
||||||
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||||
** Distributed under the terms of the NewOS License.
|
** Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
@@ -51,12 +54,12 @@ typedef struct io_context {
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int vfs_init(struct kernel_args *ka);
|
status_t vfs_init(struct kernel_args *ka);
|
||||||
int vfs_bootstrap_all_filesystems(void);
|
status_t vfs_bootstrap_file_systems(void);
|
||||||
int vfs_register_filesystem(const char *name, struct fs_ops *calls);
|
status_t vfs_mount_boot_file_system(void);
|
||||||
|
status_t vfs_register_file_system(const char *name, struct fs_ops *calls);
|
||||||
void *vfs_new_io_context(void *parent_ioctx);
|
void *vfs_new_io_context(void *parent_ioctx);
|
||||||
int vfs_free_io_context(void *ioctx);
|
int vfs_free_io_context(void *ioctx);
|
||||||
int vfs_test(void);
|
|
||||||
|
|
||||||
struct rlimit;
|
struct rlimit;
|
||||||
int vfs_getrlimit(int resource, struct rlimit * rlp);
|
int vfs_getrlimit(int resource, struct rlimit * rlp);
|
||||||
|
|||||||
Reference in New Issue
Block a user