diff options
Diffstat (limited to 'sys/fs/coda/coda_vfsops.c')
-rw-r--r-- | sys/fs/coda/coda_vfsops.c | 220 |
1 files changed, 1 insertions, 219 deletions
diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c index a9ddbb9..07a36aa 100644 --- a/sys/fs/coda/coda_vfsops.c +++ b/sys/fs/coda/coda_vfsops.c @@ -27,7 +27,7 @@ * Mellon the rights to redistribute these changes without encumbrance. * * @(#) src/sys/cfs/coda_vfsops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $ - * $Id: coda_vfsops.c,v 1.14 1999/05/31 11:24:18 phk Exp $ + * $Id: coda_vfsops.c,v 1.15 1999/07/20 07:18:17 phk Exp $ * */ @@ -44,224 +44,6 @@ * M. Satyanarayanan. */ -/* - * HISTORY - * $Log: coda_vfsops.c,v $ - * Revision 1.14 1999/05/31 11:24:18 phk - * Simplify cdevsw registration. - * - * The cdevsw_add() function now finds the major number(s) in the - * struct cdevsw passed to it. cdevsw_add_generic() is no longer - * needed, cdevsw_add() does the same thing. - * - * cdevsw_add() will print an message if the d_maj field looks bogus. - * - * Remove nblkdev and nchrdev variables. Most places they were used - * bogusly. Instead check a dev_t for validity by seeing if devsw() - * or bdevsw() returns NULL. - * - * Move bdevsw() and devsw() functions to kern/kern_conf.c - * - * Bump __FreeBSD_version to 400006 - * - * This commit removes: - * 72 bogus makedev() calls - * 26 bogus SYSINIT functions - * - * if_xe.c bogusly accessed cdevsw[], author/maintainer please fix. - * - * I4b and vinum not changed. Patches emailed to authors. LINT - * probably broken until they catch up. - * - * Revision 1.13 1999/05/09 13:11:37 phk - * remove cast from dev_t to dev_t. - * - * Revision 1.12 1999/05/08 06:39:04 phk - * I got tired of seeing all the cdevsw[major(foo)] all over the place. - * - * Made a new (inline) function devsw(dev_t dev) and substituted it. - * - * Changed to the BDEV variant to this format as well: bdevsw(dev_t dev) - * - * DEVFS will eventually benefit from this change too. - * - * Revision 1.11 1999/01/17 20:25:17 peter - * Clean up the KLD/LKM goop a bit. - * - * Revision 1.10 1998/12/04 22:54:43 archie - * Examine all occurrences of sprintf(), strcat(), and str[n]cpy() - * for possible buffer overflow problems. Replaced most sprintf()'s - * with snprintf(); for others cases, added terminating NUL bytes where - * appropriate, replaced constants like "16" with sizeof(), etc. - * - * These changes include several bug fixes, but most changes are for - * maintainability's sake. Any instance where it wasn't "immediately - * obvious" that a buffer overflow could not occur was made safer. - * - * Reviewed by: Bruce Evans <bde@zeta.org.au> - * Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> - * Reviewed by: Mike Spengler <mks@networkcs.com> - * - * Revision 1.9 1998/11/16 19:48:26 rvb - * A few bug fixes for Robert Watson - * - * Revision 1.8 1998/11/03 08:55:06 peter - * Support KLD. We register and unregister two modules. "coda" (the vfs) - * via VFS_SET(), and "codadev" for the cdevsw entry. From kldstat -v: - * 3 1 0xf02c5000 115d8 coda.ko - * Contains modules: - * Id Name - * 2 codadev - * 3 coda - * - * Revision 1.7 1998/09/29 20:19:45 rvb - * Fixes for lkm: - * 1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL - * 2. don't pass -DCODA to lkm build - * - * Revision 1.6 1998/09/25 17:38:32 rvb - * Put "stray" printouts under DIAGNOSTIC. Make everything build - * with DEBUG on. Add support for lkm. (The macro's don't work - * for me; for a good chuckle look at the end of coda_fbsd.c.) - * - * Revision 1.5 1998/09/13 13:57:59 rvb - * Finish conversion of cfs -> coda - * - * Revision 1.4 1998/09/11 18:50:17 rvb - * All the references to cfs, in symbols, structs, and strings - * have been changed to coda. (Same for CFS.) - * - * Revision 1.2 1998/09/02 19:09:53 rvb - * Pass2 complete - * - * Revision 1.1.1.1 1998/08/29 21:14:52 rvb - * Very Preliminary Coda - * - * Revision 1.11 1998/08/28 18:12:22 rvb - * Now it also works on FreeBSD -current. This code will be - * committed to the FreeBSD -current and NetBSD -current - * trees. It will then be tailored to the particular platform - * by flushing conditional code. - * - * Revision 1.10 1998/08/18 17:05:19 rvb - * Don't use __RCSID now - * - * Revision 1.9 1998/08/18 16:31:44 rvb - * Sync the code for NetBSD -current; test on 1.3 later - * - * Revision 1.8 98/02/24 22:22:48 rvb - * Fixes up mainly to flush iopen and friends - * - * Revision 1.7 98/01/23 11:53:45 rvb - * Bring RVB_CODA1_1 to HEAD - * - * Revision 1.6.2.6 98/01/23 11:21:07 rvb - * Sync with 2.2.5 - * - * Revision 1.6.2.5 98/01/22 13:05:33 rvb - * Move make_coda_node ctlfid later so vfsp is known - * - * Revision 1.6.2.4 97/12/19 14:26:05 rvb - * session id - * - * Revision 1.6.2.3 97/12/16 12:40:11 rvb - * Sync with 1.3 - * - * Revision 1.6.2.2 97/12/10 11:40:25 rvb - * No more ody - * - * Revision 1.6.2.1 97/12/06 17:41:24 rvb - * Sync with peters coda.h - * - * Revision 1.6 97/12/05 10:39:21 rvb - * Read CHANGES - * - * Revision 1.5.14.8 97/11/24 15:44:46 rvb - * Final cfs_venus.c w/o macros, but one locking bug - * - * Revision 1.5.14.7 97/11/21 13:22:03 rvb - * Catch a few coda_calls in coda_vfsops.c - * - * Revision 1.5.14.6 97/11/20 11:46:48 rvb - * Capture current cfs_venus - * - * Revision 1.5.14.5 97/11/18 10:27:17 rvb - * cfs_nbsd.c is DEAD!!!; integrated into cfs_vf/vnops.c - * cfs_nb_foo and cfs_foo are joined - * - * Revision 1.5.14.4 97/11/13 22:03:01 rvb - * pass2 cfs_NetBSD.h mt - * - * Revision 1.5.14.3 97/11/12 12:09:40 rvb - * reorg pass1 - * - * Revision 1.5.14.2 97/10/29 16:06:28 rvb - * Kill DYING - * - * Revision 1.5.14.1 1997/10/28 23:10:17 rvb - * >64Meg; venus can be killed! - * - * Revision 1.5 1997/01/13 17:11:07 bnoble - * Coda statfs needs to return something other than -1 for blocks avail. and - * files available for wabi (and other windowsish) programs to install - * there correctly. - * - * Revision 1.4 1996/12/12 22:11:00 bnoble - * Fixed the "downcall invokes venus operation" deadlock in all known cases. - * There may be more - * - * Revision 1.3 1996/11/08 18:06:12 bnoble - * Minor changes in vnode operation signature, VOP_UPDATE signature, and - * some newly defined bits in the include files. - * - * Revision 1.2 1996/01/02 16:57:04 bnoble - * Added support for Coda MiniCache and raw inode calls (final commit) - * - * Revision 1.1.2.1 1995/12/20 01:57:32 bnoble - * Added CODA-specific files - * - * Revision 3.1.1.1 1995/03/04 19:08:02 bnoble - * Branch for NetBSD port revisions - * - * Revision 3.1 1995/03/04 19:08:01 bnoble - * Bump to major revision 3 to prepare for NetBSD port - * - * Revision 2.4 1995/02/17 16:25:22 dcs - * These versions represent several changes: - * 1. Allow venus to restart even if outstanding references exist. - * 2. Have only one ctlvp per client, as opposed to one per mounted cfs device.d - * 3. Allow ody_expand to return many members, not just one. - * - * Revision 2.3 94/10/14 09:58:21 dcs - * Made changes 'cause sun4s have braindead compilers - * - * Revision 2.2 94/10/12 16:46:33 dcs - * Cleaned kernel/venus interface by removing XDR junk, plus - * so cleanup to allow this code to be more easily ported. - * - * Revision 1.3 93/05/28 16:24:29 bnoble - * *** empty log message *** - * - * Revision 1.2 92/10/27 17:58:24 lily - * merge kernel/latest and alpha/src/cfs - * - * Revision 2.3 92/09/30 14:16:32 mja - * Added call to coda_flush to coda_unmount. - * [90/12/15 dcs] - * - * Added contributors blurb. - * [90/12/13 jjk] - * - * Revision 2.2 90/07/05 11:26:40 mrt - * Created for the Coda File System. - * [90/05/23 dcs] - * - * Revision 1.3 90/05/31 17:01:42 dcs - * Prepare for merge with facilities kernel. - * - * - */ - #include <vcoda.h> #include <sys/param.h> |