Deleted Added
full compact
coda_vnops.c (42374) coda_vnops.c (42900)
1/*
2 *
3 * Coda: an Experimental Distributed File System
4 * Release 3.1
5 *
6 * Copyright (c) 1987-1998 Carnegie Mellon University
7 * All Rights Reserved
8 *

--- 13 unchanged lines hidden (view full) ---

22 * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF
23 * ANY DERIVATIVE WORK.
24 *
25 * Carnegie Mellon encourages users of this software to return any
26 * improvements or extensions that they make, and to grant Carnegie
27 * Mellon the rights to redistribute these changes without encumbrance.
28 *
29 * @(#) src/sys/coda/coda_vnops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
1/*
2 *
3 * Coda: an Experimental Distributed File System
4 * Release 3.1
5 *
6 * Copyright (c) 1987-1998 Carnegie Mellon University
7 * All Rights Reserved
8 *

--- 13 unchanged lines hidden (view full) ---

22 * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF
23 * ANY DERIVATIVE WORK.
24 *
25 * Carnegie Mellon encourages users of this software to return any
26 * improvements or extensions that they make, and to grant Carnegie
27 * Mellon the rights to redistribute these changes without encumbrance.
28 *
29 * @(#) src/sys/coda/coda_vnops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
30 * $Id: coda_vnops.c,v 1.11 1999/01/05 18:49:51 eivind Exp $
30 * $Id: coda_vnops.c,v 1.12 1999/01/07 16:14:12 bde Exp $
31 *
32 */
33
34/*
35 * Mach Operating System
36 * Copyright (c) 1990 Carnegie-Mellon University
37 * Copyright (c) 1989 Carnegie-Mellon University
38 * All rights reserved. The CMU software License Agreement specifies

--- 4 unchanged lines hidden (view full) ---

43 * This code was written for the Coda file system at Carnegie Mellon
44 * University. Contributers include David Steere, James Kistler, and
45 * M. Satyanarayanan.
46 */
47
48/*
49 * HISTORY
50 * $Log: coda_vnops.c,v $
31 *
32 */
33
34/*
35 * Mach Operating System
36 * Copyright (c) 1990 Carnegie-Mellon University
37 * Copyright (c) 1989 Carnegie-Mellon University
38 * All rights reserved. The CMU software License Agreement specifies

--- 4 unchanged lines hidden (view full) ---

43 * This code was written for the Coda file system at Carnegie Mellon
44 * University. Contributers include David Steere, James Kistler, and
45 * M. Satyanarayanan.
46 */
47
48/*
49 * HISTORY
50 * $Log: coda_vnops.c,v $
51 * Revision 1.12 1999/01/07 16:14:12 bde
52 * Don't pass unused unused timestamp args to UFS_UPDATE() or waste
53 * time initializing them. This almost finishes centralizing (in-core)
54 * timestamp updates in ufs_itimes().
55 *
51 * Revision 1.11 1999/01/05 18:49:51 eivind
52 * Remove the 'waslocked' parameter to vfs_object_create().
53 *
54 * Revision 1.10 1998/12/04 18:44:21 rvb
55 * Don't print diagnostic anymore
56 *
57 * Revision 1.9 1998/11/16 19:48:26 rvb
58 * A few bug fixes for Robert Watson

--- 1973 unchanged lines hidden (view full) ---

2032
2033 ENTRY;
2034
2035 if (coda_lockdebug) {
2036 myprintf(("Attempting lock on %lx.%lx.%lx\n",
2037 cp->c_fid.Volume, cp->c_fid.Vnode, cp->c_fid.Unique));
2038 }
2039
56 * Revision 1.11 1999/01/05 18:49:51 eivind
57 * Remove the 'waslocked' parameter to vfs_object_create().
58 *
59 * Revision 1.10 1998/12/04 18:44:21 rvb
60 * Don't print diagnostic anymore
61 *
62 * Revision 1.9 1998/11/16 19:48:26 rvb
63 * A few bug fixes for Robert Watson

--- 1973 unchanged lines hidden (view full) ---

2037
2038 ENTRY;
2039
2040 if (coda_lockdebug) {
2041 myprintf(("Attempting lock on %lx.%lx.%lx\n",
2042 cp->c_fid.Volume, cp->c_fid.Vnode, cp->c_fid.Unique));
2043 }
2044
2045#ifndef DEBUG_LOCKS
2040 return (lockmgr(&cp->c_lock, ap->a_flags, &vp->v_interlock, p));
2046 return (lockmgr(&cp->c_lock, ap->a_flags, &vp->v_interlock, p));
2047#else
2048 return (debuglockmgr(&cp->c_lock, ap->a_flags, &vp->v_interlock, p,
2049 "coda_lock", vp->filename, vp->line));
2050#endif
2041}
2042
2043int
2044coda_unlock(v)
2045 void *v;
2046{
2047/* true args */
2048 struct vop_unlock_args *ap = v;

--- 161 unchanged lines hidden ---
2051}
2052
2053int
2054coda_unlock(v)
2055 void *v;
2056{
2057/* true args */
2058 struct vop_unlock_args *ap = v;

--- 161 unchanged lines hidden ---