Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-localcount]: src/sys/fs/cd9660 Be consistent in the ordering of...



details:   https://anonhg.NetBSD.org/src/rev/1367812b308e
branches:  pgoyette-localcount
changeset: 852848:1367812b308e
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Jul 23 00:44:59 2016 +0000

description:
Be consistent in the ordering of operations.

diffstat:

 sys/fs/cd9660/cd9660_vfsops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 6f0f74c7832b -r 1367812b308e sys/fs/cd9660/cd9660_vfsops.c
--- a/sys/fs/cd9660/cd9660_vfsops.c     Fri Jul 22 23:16:36 2016 +0000
+++ b/sys/fs/cd9660/cd9660_vfsops.c     Sat Jul 23 00:44:59 2016 +0000
@@ -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 @@
 
 fail:
        VOP_UNLOCK(devvp);
+       vrele(devvp);
        bdevsw_release(bdev);
-       vrele(devvp);
        return (error);
 }
 



Home | Main Index | Thread Index | Old Index