diff options
author | mckusick <mckusick@FreeBSD.org> | 2000-07-12 00:27:27 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2000-07-12 00:27:27 +0000 |
commit | 6e81eafe20df0f48da196fbdeee8ba3da0539f6f (patch) | |
tree | 14eb6f8c17ac37477a27f25f04c70e32bbd95c63 | |
parent | 70fe80a15b967bf34bcf16fa3dc652727d1f3bca (diff) | |
download | FreeBSD-src-6e81eafe20df0f48da196fbdeee8ba3da0539f6f.zip FreeBSD-src-6e81eafe20df0f48da196fbdeee8ba3da0539f6f.tar.gz |
Brain fault, forgot to update ffs_snapshot.c with the new calling convention
for vn_start_write.
-rw-r--r-- | sys/ufs/ffs/ffs_snapshot.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c index 73da537..d749abe 100644 --- a/sys/ufs/ffs/ffs_snapshot.c +++ b/sys/ufs/ffs/ffs_snapshot.c @@ -135,10 +135,11 @@ restart: wrtmp = NULL; if (wrtmp != mp) panic("ffs_snapshot: mount mismatch"); - if (vn_start_write(wrtmp, V_NOWAIT) != 0) { + if (vn_start_write(NULL, &wrtmp, V_NOWAIT) != 0) { NDFREE(&nd, NDF_ONLY_PNBUF); vput(nd.ni_dvp); - if ((error = vn_start_write(wrtmp, V_XSLEEP | PCATCH)) != 0) + if ((error = vn_start_write(NULL, &wrtmp, + V_XSLEEP | PCATCH)) != 0) return (error); goto restart; } @@ -257,7 +258,7 @@ restart: vfs_write_suspend(vp->v_mount); if (mp->mnt_kern_flag & MNTK_SUSPENDED) break; - vn_start_write(wrtmp, V_WAIT); + vn_start_write(NULL, &wrtmp, V_WAIT); } /* * First, copy all the cylinder group maps. All the unallocated @@ -457,7 +458,7 @@ restart: */ out1: vfs_write_resume(vp->v_mount); - vn_start_write(wrtmp, V_WAIT); + vn_start_write(NULL, &wrtmp, V_WAIT); out: mp->mnt_flag = flag; (void) VOP_FSYNC(vp, KERNCRED, MNT_WAIT, p); |