Added an additional flags parameter to fs_mount(), "args" is now a const char.
Turned off debugging output in pipefs. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9951 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -378,7 +378,8 @@ bootfs_create_vnode_tree(struct bootfs *fs, struct bootfs_vnode *root)
|
|||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
bootfs_mount(mount_id id, const char *device, void *args, fs_volume *_fs, vnode_id *root_vnid)
|
bootfs_mount(mount_id id, const char *device, uint32 flags, const char *args,
|
||||||
|
fs_volume *_fs, vnode_id *root_vnid)
|
||||||
{
|
{
|
||||||
struct bootfs *fs;
|
struct bootfs *fs;
|
||||||
struct bootfs_vnode *v;
|
struct bootfs_vnode *v;
|
||||||
|
|||||||
@@ -660,7 +660,8 @@ get_device_name(struct devfs_vnode *vnode, char *buffer, size_t size)
|
|||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
devfs_mount(mount_id id, const char *devfs, void *args, fs_volume *_fs, vnode_id *root_vnid)
|
devfs_mount(mount_id id, const char *devfs, uint32 flags, const char *args,
|
||||||
|
fs_volume *_fs, vnode_id *root_vnid)
|
||||||
{
|
{
|
||||||
struct devfs *fs;
|
struct devfs *fs;
|
||||||
struct devfs_vnode *v;
|
struct devfs_vnode *v;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
// ToDo: handles file names suboptimally - it has all file names
|
// ToDo: handles file names suboptimally - it has all file names
|
||||||
// in a singly linked list, no hash lookups or whatever.
|
// in a singly linked list, no hash lookups or whatever.
|
||||||
|
|
||||||
#define TRACE_PIPEFS
|
//#define TRACE_PIPEFS
|
||||||
#ifdef TRACE_PIPEFS
|
#ifdef TRACE_PIPEFS
|
||||||
# define TRACE(x) dprintf x
|
# define TRACE(x) dprintf x
|
||||||
#else
|
#else
|
||||||
@@ -858,7 +858,8 @@ ReadRequest::PutBuffer(const void **_buffer, size_t *_bytesLeft)
|
|||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
pipefs_mount(mount_id id, const char *device, void *args, fs_volume *_volume, vnode_id *_rootVnodeID)
|
pipefs_mount(mount_id id, const char *device, uint32 flags, const char *args,
|
||||||
|
fs_volume *_volume, vnode_id *_rootVnodeID)
|
||||||
{
|
{
|
||||||
TRACE(("pipefs_mount: entry\n"));
|
TRACE(("pipefs_mount: entry\n"));
|
||||||
|
|
||||||
|
|||||||
@@ -295,7 +295,8 @@ err:
|
|||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
rootfs_mount(mount_id id, const char *device, void *args, fs_volume *_fs, vnode_id *root_vnid)
|
rootfs_mount(mount_id id, const char *device, uint32 flags, const char *args,
|
||||||
|
fs_volume *_fs, vnode_id *root_vnid)
|
||||||
{
|
{
|
||||||
struct rootfs *fs;
|
struct rootfs *fs;
|
||||||
struct rootfs_vnode *vnode;
|
struct rootfs_vnode *vnode;
|
||||||
|
|||||||
Reference in New Issue
Block a user