Module Name: src
Committed By: pgoyette
Date: Sat Jul 23 00:44:59 UTC 2016
Modified Files:
src/sys/fs/cd9660 [pgoyette-localcount]: cd9660_vfsops.c
Log Message:
Be consistent in the ordering of operations.
To generate a diff of this commit:
cvs rdiff -u -r1.90.2.1 -r1.90.2.2 src/sys/fs/cd9660/cd9660_vfsops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/fs/cd9660/cd9660_vfsops.c
diff -u src/sys/fs/cd9660/cd9660_vfsops.c:1.90.2.1 src/sys/fs/cd9660/cd9660_vfsops.c:1.90.2.2
--- src/sys/fs/cd9660/cd9660_vfsops.c:1.90.2.1 Wed Jul 20 23:47:56 2016
+++ src/sys/fs/cd9660/cd9660_vfsops.c Sat Jul 23 00:44:59 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: cd9660_vfsops.c,v 1.90.2.1 2016/07/20 23:47:56 pgoyette Exp $ */
+/* $NetBSD: cd9660_vfsops.c,v 1.90.2.2 2016/07/23 00:44:59 pgoyette Exp $ */
/*-
* Copyright (c) 1994
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_vfsops.c,v 1.90.2.1 2016/07/20 23:47:56 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_vfsops.c,v 1.90.2.2 2016/07/23 00:44:59 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -292,8 +292,8 @@ cd9660_mount(struct mount *mp, const cha
fail:
VOP_UNLOCK(devvp);
- bdevsw_release(bdev);
vrele(devvp);
+ bdevsw_release(bdev);
return (error);
}