coda_vnops.c (41202) | coda_vnops.c (41504) |
---|---|
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.8 1998/10/28 20:31:13 rvb Exp $ | 30 * $Id: coda_vnops.c,v 1.9 1998/11/16 19:48:26 rvb 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.9 1998/11/16 19:48:26 rvb 52 * A few bug fixes for Robert Watson 53 * |
|
51 * Revision 1.8 1998/10/28 20:31:13 rvb 52 * Change the way unmounting happens to guarantee that the 53 * client programs are allowed to finish up (coda_call is 54 * forced to complete) and release their locks. Thus there 55 * is a reasonable chance that the vflush implicit in the 56 * unmount will not get hung on held locks. 57 * 58 * Revision 1.7 1998/10/25 17:44:41 phk --- 1878 unchanged lines hidden (view full) --- 1937 return EINVAL; 1938 ret = VOP_BMAP(cp->c_ovp, bn, vpp, bnp, ap->a_runp, ap->a_runb); 1939#if 0 1940 printf("VOP_BMAP(cp->c_ovp %p, bn %p, vpp %p, bnp %p, ap->a_runp %p, ap->a_runb %p) = %d\n", 1941 cp->c_ovp, bn, vpp, bnp, ap->a_runp, ap->a_runb, ret); 1942#endif 1943 return ret; 1944 } else { | 54 * Revision 1.8 1998/10/28 20:31:13 rvb 55 * Change the way unmounting happens to guarantee that the 56 * client programs are allowed to finish up (coda_call is 57 * forced to complete) and release their locks. Thus there 58 * is a reasonable chance that the vflush implicit in the 59 * unmount will not get hung on held locks. 60 * 61 * Revision 1.7 1998/10/25 17:44:41 phk --- 1878 unchanged lines hidden (view full) --- 1940 return EINVAL; 1941 ret = VOP_BMAP(cp->c_ovp, bn, vpp, bnp, ap->a_runp, ap->a_runb); 1942#if 0 1943 printf("VOP_BMAP(cp->c_ovp %p, bn %p, vpp %p, bnp %p, ap->a_runp %p, ap->a_runb %p) = %d\n", 1944 cp->c_ovp, bn, vpp, bnp, ap->a_runp, ap->a_runb, ret); 1945#endif 1946 return ret; 1947 } else { |
1948#if 0 |
|
1945 printf("coda_bmap: no container\n"); | 1949 printf("coda_bmap: no container\n"); |
1950#endif |
|
1946 return(EOPNOTSUPP); 1947 } 1948} 1949 1950/* 1951 * I don't think the following two things are used anywhere, so I've 1952 * commented them out 1953 * --- 245 unchanged lines hidden --- | 1951 return(EOPNOTSUPP); 1952 } 1953} 1954 1955/* 1956 * I don't think the following two things are used anywhere, so I've 1957 * commented them out 1958 * --- 245 unchanged lines hidden --- |