haiku/src/system/libroot/os/fs_volume.c
Axel Dörfler e2793c5db4 Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-19 13:05:56 +00:00

28 lines
556 B
C

/*
* Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include <fs_volume.h>
#include <syscalls.h>
#include <string.h>
dev_t
fs_mount_volume(const char *where, const char *device,
const char *fileSystem, uint32 flags, const char *parameters)
{
return _kern_mount(where, device, fileSystem, flags, (void *)parameters,
parameters ? strlen(parameters) : 0);
}
status_t
fs_unmount_volume(const char *path, uint32 flags)
{
return _kern_unmount(path, flags);
}