Changed fs_mount() call, "args" is now a const char, added flags parameter.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9940 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-11-12 17:03:48 +00:00
parent 58e12c8d52
commit f99b76aafb

View File

@ -3911,7 +3911,7 @@ fs_mount(char *path, const char *device, const char *fsName, uint32 flags,
goto err5;
}
err = FS_MOUNT_CALL(mount, mount)(mount->id, device, NULL, &mount->cookie, &root_id);
err = FS_MOUNT_CALL(mount, mount)(mount->id, device, flags, args, &mount->cookie, &root_id);
if (err < 0) {
// ToDo: why should we hide the error code from the file system here?
//err = ERR_VFS_GENERAL;
@ -3949,7 +3949,7 @@ fs_mount(char *path, const char *device, const char *fsName, uint32 flags,
mount->covers_vnode = covered_vnode;
// mount it
err = FS_MOUNT_CALL(mount, mount)(mount->id, device, NULL, &mount->cookie, &root_id);
err = FS_MOUNT_CALL(mount, mount)(mount->id, device, flags, args, &mount->cookie, &root_id);
if (err < 0)
goto err6;
}