Added "flags" parameter to unmount.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10288 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-11-29 22:42:01 +00:00
parent 41c3a7a3d5
commit 4c8e8f2f19
3 changed files with 7 additions and 7 deletions

View File

@ -110,7 +110,7 @@ extern status_t _kern_get_next_image_info(team_id team, int32 *cookie, image_in
// VFS functions
extern status_t _kern_mount(const char *path, const char *device,
const char *fs_name, uint32 flags, const char *args);
extern status_t _kern_unmount(const char *path);
extern status_t _kern_unmount(const char *path, uint32 flags);
extern status_t _kern_read_fs_info(dev_t device, struct fs_info *info);
extern status_t _kern_write_fs_info(dev_t device, const struct fs_info *info, int mask);
extern dev_t _kern_next_device(int32 *_cookie);

View File

@ -88,7 +88,7 @@ status_t vfs_normalize_path(const char *path, char *buffer, size_t bufferSize,
/* calls the syscall dispatcher should use for user file I/O */
status_t _user_mount(const char *path, const char *device, const char *fs_name,
uint32 flags, const char *args);
status_t _user_unmount(const char *path);
status_t _user_unmount(const char *path, uint32 flags);
status_t _user_read_fs_info(dev_t device, struct fs_info *info);
status_t _user_write_fs_info(dev_t device, const struct fs_info *info, int mask);
dev_t _user_next_device(int32 *_cookie);

View File

@ -1,7 +1,7 @@
/*
** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
/*
* Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include <fs_volume.h>
@ -19,6 +19,6 @@ fs_mount_volume(const char *where, const char *device,
status_t
fs_unmount_volume(const char *path, uint32 flags)
{
return _kern_unmount(path/*, flags*/);
return _kern_unmount(path, flags);
}