Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ufs In ufs_extattr_start(), unlock uepm_lock when ba...



details:   https://anonhg.NetBSD.org/src/rev/0dceaed32b99
branches:  trunk
changeset: 584282:0dceaed32b99
user:      rpaulo <rpaulo%NetBSD.org@localhost>
date:      Mon Sep 12 16:09:06 2005 +0000

description:
In ufs_extattr_start(), unlock uepm_lock when bailing out.

Ok'd Jason Thorpe.

diffstat:

 sys/ufs/ufs/ufs_extattr.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f1e0033d86ad -r 0dceaed32b99 sys/ufs/ufs/ufs_extattr.c
--- a/sys/ufs/ufs/ufs_extattr.c Mon Sep 12 15:48:29 2005 +0000
+++ b/sys/ufs/ufs/ufs_extattr.c Mon Sep 12 16:09:06 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_extattr.c,v 1.1 2005/08/28 19:37:59 thorpej Exp $  */
+/*     $NetBSD: ufs_extattr.c,v 1.2 2005/09/12 16:09:06 rpaulo Exp $   */
 
 /*-
  * Copyright (c) 1999-2002 Robert N. M. Watson
@@ -228,6 +228,8 @@
        crhold(ump->um_extattr.uepm_ucred);
 
  unlock:
+       ufs_extattr_uepm_unlock(ump);
+
        return (error);
 }
 



Home | Main Index | Thread Index | Old Index