summaryrefslogtreecommitdiffstats
path: root/sys/nwfs/nwfs_vfsops.c
Commit message (Collapse)AuthorAgeFilesLines
* Add dependancy on libmchain module.bp2001-03-221-0/+1
| | | | Spotted by: Andrzej Tobola <san@iem.pw.edu.pl>
* Slightly reorganize allocation of new vnode. Use bit NVOLUME to detectedbp2001-03-101-1/+1
| | | | | vnodes which represent volumes (before it was done via strcmp()). Turn n_refparent into bit in the n_flag field.
* Synch with changes in the NCP requester.bp2001-03-101-1/+1
|
* Reviewed by: jlemonadrian2001-03-011-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | An initial tidyup of the mount() syscall and VFS mount code. This code replaces the earlier work done by jlemon in an attempt to make linux_mount() work. * the guts of the mount work has been moved into vfs_mount(). * move `type', `path' and `flags' from being userland variables into being kernel variables in vfs_mount(). `data' remains a pointer into userspace. * Attempt to verify the `type' and `path' strings passed to vfs_mount() aren't too long. * rework mount() and linux_mount() to take the userland parameters (besides data, as mentioned) and pass kernel variables to vfs_mount(). (linux_mount() already did this, I've just tidied it up a little more.) * remove the copyin*() stuff for `path'. `data' still requires copyin*() since its a pointer into userland. * set `mount->mnt_statf_mntonname' in vfs_mount() rather than in each filesystem. This variable is generally initialised with `path', and each filesystem can override it if they want to. * NOTE: f_mntonname is intiailised with "/" in the case of a root mount.
* Mechanical change to use <sys/queue.h> macro API instead ofphk2001-02-041-2/+2
| | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1)
* Make malloc use M_ZERO in some more locations.dwmalone2000-10-291-3/+1
| | | | | | | | Don't check for a null pointer if malloc called with M_WAITOK. Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Approved by: bp
* Protect hash data with lock manager instead of home grown one.bp2000-10-021-1/+2
| | | | | | | | | Replace shared lock on vnode with exclusive one. It shouldn't impact perfomance as NCP protocol doesn't support outstanding requests. Do not hold simple lock on vnode for long period of time. Add functionality to the nwfs_print() routine.
* Get rid from the legacy __P() macro. Remove 'register' keywords.bp2000-10-021-16/+13
|
* Separate the struct bio related stuff out of <sys/buf.h> intophk2000-05-051-0/+1
| | | | | | | | | | | | | | | <sys/bio.h>. <sys/bio.h> is now a prerequisite for <sys/buf.h> but it shall not be made a nested include according to bdes teachings on the subject of nested includes. Diskdrivers and similar stuff below specfs::strategy() should no longer need to include <sys/buf.> unless they need caching of data. Still a few bogus uses of struct buf to track down. Repocopy by: peter
* nwfs depends on ncppeter2000-04-291-0/+2
|
* Check if module was compiled without SMP support and running onbp2000-01-151-0/+9
| | | | an SMP system.
* Second pass commit to introduce new ACL and Extended Attribute systemrwatson1999-12-191-1/+2
| | | | | | | calls, vnops, vfsops, both in /kern, and to individual file systems that require a vfsop_ array entry. Reviewed by: eivind
* Lock reporting and assertion changes.eivind1999-12-111-1/+1
| | | | | | | | | | | | | | | * lockstatus() and VOP_ISLOCKED() gets a new process argument and a new return value: LK_EXCLOTHER, when the lock is held exclusively by another process. * The ASSERT_VOP_(UN)LOCKED family is extended to use what this gives them * Extend the vnode_if.src format to allow more exact specification than locked/unlocked. This commit should not do any semantic changes unless you are using DEBUG_VFS_LOCKS. Discussed with: grog, mch, peter, phk Reviewed by: peter
* Change structure field named 'toupper' to 'to_upper' to avoid conflictarchie1999-11-021-5/+5
| | | | with the macro of the same name. Same thing for 'tolower'.
* Remove unnessary includes.bp1999-10-121-3/+0
|
* Import kernel part of ncplib: netncp and nwfsbp1999-10-021-0/+515
Reviewed by: msmith, peter Obtained from: ncplib
OpenPOWER on IntegriCloud