From cdbef38048fc2b6b419c5f32dd4c7fa9aa32d51f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 6 May 2004 01:20:41 +0000 Subject: [PATCH] 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 --- headers/private/kernel/vfs.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/headers/private/kernel/vfs.h b/headers/private/kernel/vfs.h index 36d197732b..4012e36154 100755 --- a/headers/private/kernel/vfs.h +++ b/headers/private/kernel/vfs.h @@ -1,4 +1,7 @@ /* +** Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. +** Distributed under the terms of the OpenBeOS License. +** ** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. */ @@ -51,12 +54,12 @@ typedef struct io_context { extern "C" { #endif -int vfs_init(struct kernel_args *ka); -int vfs_bootstrap_all_filesystems(void); -int vfs_register_filesystem(const char *name, struct fs_ops *calls); +status_t vfs_init(struct kernel_args *ka); +status_t vfs_bootstrap_file_systems(void); +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); int vfs_free_io_context(void *ioctx); -int vfs_test(void); struct rlimit; int vfs_getrlimit(int resource, struct rlimit * rlp);