From 58e12c8d52fa23196864906c8f02cdcec73c4471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 12 Nov 2004 17:02:55 +0000 Subject: [PATCH] Changed fs_mount() function: "args" is now const char instead of void, added flags parameter (for example for B_MOUNT_READ_ONLY). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9939 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/drivers/fs_interface.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/headers/os/drivers/fs_interface.h b/headers/os/drivers/fs_interface.h index 4cb35f9fd8..5d8735ab5f 100644 --- a/headers/os/drivers/fs_interface.h +++ b/headers/os/drivers/fs_interface.h @@ -1,7 +1,8 @@ /* File System Interface Layer Definition -** -** Distributed under the terms of the Haiku License. -*/ + * + * Copyright 2004, Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT License. + */ #ifndef _FS_INTERFACE_H #define _FS_INTERFACE_H @@ -56,7 +57,7 @@ typedef struct file_system_info { struct module_info module_info; /* general operations */ - status_t (*mount)(mount_id id, const char *device, void *args, fs_volume *_fs, vnode_id *_rootVnodeID); + status_t (*mount)(mount_id id, const char *device, uint32 flags, const char *args, fs_volume *_fs, vnode_id *_rootVnodeID); status_t (*unmount)(fs_volume fs); status_t (*read_fs_info)(fs_volume fs, struct fs_info *info);