diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-07-30 22:08:52 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-07-30 22:08:52 +0000 |
| commit | 5e8c582ac2973e6389d6f9ae62021546bef75705 (patch) | |
| tree | af2a6b4c3e63a13443b647b947b57d5b31690b5a /sys/fs/udf/udf_vfsops.c | |
| parent | 483745339df4f3ed4c4e99d11ad87ec6b2e66c41 (diff) | |
Notes
Diffstat (limited to 'sys/fs/udf/udf_vfsops.c')
| -rw-r--r-- | sys/fs/udf/udf_vfsops.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c index 2b2501a8b377..89f38ba6aa8e 100644 --- a/sys/fs/udf/udf_vfsops.c +++ b/sys/fs/udf/udf_vfsops.c @@ -108,7 +108,7 @@ uma_zone_t udf_zone_ds = NULL; static vfs_init_t udf_init; static vfs_uninit_t udf_uninit; -static vfs_nmount_t udf_mount; +static vfs_mount_t udf_mount; static vfs_root_t udf_root; static vfs_statfs_t udf_statfs; static vfs_unmount_t udf_unmount; @@ -120,7 +120,7 @@ static int udf_find_partmaps(struct udf_mnt *, struct logvol_desc *); static struct vfsops udf_vfsops = { .vfs_fhtovp = udf_fhtovp, .vfs_init = udf_init, - .vfs_nmount = udf_mount, + .vfs_mount = udf_mount, .vfs_root = udf_root, .vfs_statfs = udf_statfs, .vfs_uninit = udf_uninit, @@ -184,7 +184,7 @@ udf_uninit(struct vfsconf *foo) } static int -udf_mount(struct mount *mp, struct nameidata *ndp, struct thread *td) +udf_mount(struct mount *mp, struct thread *td) { struct vnode *devvp; /* vnode of the mount device */ struct udf_mnt *imp = 0; @@ -193,6 +193,7 @@ udf_mount(struct mount *mp, struct nameidata *ndp, struct thread *td) char *fspec, *cs_disk, *cs_local; size_t size; int error, len, *udf_flags; + struct nameidata nd, *ndp = &nd; opts = mp->mnt_optnew; |
