diff options
Diffstat (limited to 'sys/isofs/udf/udf_vfsops.c')
-rw-r--r-- | sys/isofs/udf/udf_vfsops.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c index 88a4dd3d7ee..aad3ccf17fe 100644 --- a/sys/isofs/udf/udf_vfsops.c +++ b/sys/isofs/udf/udf_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vfsops.c,v 1.48 2016/03/19 12:04:15 natano Exp $ */ +/* $OpenBSD: udf_vfsops.c,v 1.49 2016/03/27 11:39:37 bluhm Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> @@ -476,10 +476,8 @@ udf_unmount(struct mount *mp, int mntflags, struct proc *p) vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, p); vinvalbuf(devvp, V_SAVE, NOCRED, p, 0, 0); - error = VOP_CLOSE(devvp, FREAD, NOCRED, p); + (void)VOP_CLOSE(devvp, FREAD, NOCRED, p); VOP_UNLOCK(devvp, p); - if (error) - return (error); devvp->v_specmountpoint = NULL; vrele(devvp); |