diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-06-28 15:07:01 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-06-28 15:07:01 +0000 |
commit | df8ba164989a80f187096bc4f9b0de072e27de90 (patch) | |
tree | 9f3621ab1f49a28d80e62bca7d418ef70c6b80ab /sys/isofs | |
parent | fe06797d105825b636b610f3c40802dce5e4d1b4 (diff) |
Only set devvp->v_specmountpoint on successful mounts, Nicholas Marriott
Diffstat (limited to 'sys/isofs')
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 3883496b5c7..8cd5424647d 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_vfsops.c,v 1.39 2006/04/19 11:55:55 pedro Exp $ */ +/* $OpenBSD: cd9660_vfsops.c,v 1.40 2006/06/28 15:07:00 pedro Exp $ */ /* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */ /*- @@ -367,9 +367,7 @@ iso_mountfs(devvp, mp, p, argp) isomp->im_dev = dev; isomp->im_devvp = devvp; - devvp->v_specmountpoint = mp; - - /* Check the Rock Ridge Extention support */ + /* Check the Rock Ridge Extension support */ if (!(argp->flags & ISOFSMNT_NORRIP)) { if ((error = bread(isomp->im_devvp, (isomp->root_extent + isonum_711(rootp->ext_attr_length)) << @@ -424,6 +422,8 @@ iso_mountfs(devvp, mp, p, argp) supbp = NULL; } + devvp->v_specmountpoint = mp; + return (0); out: if (bp) |