Print this page
8115 parallel zfs mount
*** 20,29 ****
--- 20,30 ----
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
* Copyright (c) 2011 Bayard G. Bell. All rights reserved.
+ * Copyright (c) 2017 by Delphix. All rights reserved.
*/
#include <sys/types.h>
#include <sys/t_lock.h>
#include <sys/param.h>
*** 119,129 ****
static vfsdef_t vfw = {
VFSDEF_VERSION,
"udfs",
udfinit,
! VSW_HASPROTO|VSW_CANREMOUNT|VSW_STATS|VSW_CANLOFI,
&udfs_mntopts
};
static mntopts_t udfs_mntopts = {
0,
--- 120,130 ----
static vfsdef_t vfw = {
VFSDEF_VERSION,
"udfs",
udfinit,
! VSW_HASPROTO|VSW_CANREMOUNT|VSW_STATS|VSW_CANLOFI|VSW_MOUNTDEV,
&udfs_mntopts
};
static mntopts_t udfs_mntopts = {
0,
*** 487,498 ****
/* ARGSUSED */
static int32_t
! udf_vget(struct vfs *vfsp,
! struct vnode **vpp, struct fid *fidp)
{
int32_t error = 0;
struct udf_fid *udfid;
struct udf_vfs *udf_vfsp;
struct ud_inode *ip;
--- 488,498 ----
/* ARGSUSED */
static int32_t
! udf_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp)
{
int32_t error = 0;
struct udf_fid *udfid;
struct udf_vfs *udf_vfsp;
struct ud_inode *ip;
*** 610,621 ****
/* ------------------------- local routines ------------------------- */
static int32_t
! ud_mountfs(struct vfs *vfsp,
! enum whymountroot why, dev_t dev, char *name,
struct cred *cr, int32_t isroot)
{
struct vnode *devvp = NULL;
int32_t error = 0;
int32_t needclose = 0;
--- 610,620 ----
/* ------------------------- local routines ------------------------- */
static int32_t
! ud_mountfs(struct vfs *vfsp, enum whymountroot why, dev_t dev, char *name,
struct cred *cr, int32_t isroot)
{
struct vnode *devvp = NULL;
int32_t error = 0;
int32_t needclose = 0;