Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Keep track of who the lock belongs to (from OpenBSD)



details:   https://anonhg.NetBSD.org/src/rev/868c99717be1
branches:  trunk
changeset: 579654:868c99717be1
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 20 19:13:57 2005 +0000

description:
Keep track of who the lock belongs to (from OpenBSD)

diffstat:

 sys/sys/lockf.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e29b11604506 -r 868c99717be1 sys/sys/lockf.h
--- a/sys/sys/lockf.h   Sun Mar 20 19:13:23 2005 +0000
+++ b/sys/sys/lockf.h   Sun Mar 20 19:13:57 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lockf.h,v 1.15 2004/04/25 16:42:43 simonb Exp $        */
+/*     $NetBSD: lockf.h,v 1.16 2005/03/20 19:13:57 christos Exp $      */
 
 /*
  * Copyright (c) 1991, 1993
@@ -63,6 +63,7 @@
        struct  lockf *lf_next;  /* Next lock on this vnode, or blocking lock */
        struct  locklist lf_blkhd; /* List of requests blocked on this lock */
        TAILQ_ENTRY(lockf) lf_block;/* A request waiting for a lock */
+       uid_t   lf_uid;          /* User ID responsible */
 };
 
 /* Maximum length of sleep chains to traverse to try and detect deadlock. */



Home | Main Index | Thread Index | Old Index