summaryrefslogtreecommitdiff
path: root/sys/adosfs
AgeCommit message (Collapse)Author
2003-12-21Pass -Wformat.Miod Vallat
2003-11-13common cleaning.Dale Rahn
2003-11-13Couple of typos in poll changes. ok millert@Dale Rahn
2003-10-17comment spelling from Jared Yanovich <jjy2+@pitt.edu>.Ted Unangst
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-14constify vfsops; tedu@ okMichael Shalayeff
2003-07-24kill some externs that are not there anymore and had left other places for a ↵Michael Shalayeff
better void ages ago
2003-04-01Unused variable.Artur Grabowski
Pointed out by John L. Scarfone <j0@cox.net>
2003-03-16typosmargarida
2003-01-31File system locking fixups, mostly from NetBSD:Artur Grabowski
- cache_lookup move common code from various fs's here always return with vnode and parent locked adjust return codes - PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode - kernfs and procfs lock vnode in get_root don't unlock (again) in kernfs_freevp fix memory leak in procfs From tedu@stanford.edu deraadt@ and various other ok
2002-05-23protect biodone calls with splbioArtur Grabowski
2002-04-23In mount.h, rename field export -> export_info, to avoid collision with C++.Marc Espie
Synch files that use that field. (This argument is an internal interface specific to OpenBSD, so it won't cause compatibility problems.) (No bump, not an ABI change). ok art, millert...
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2001-12-19UBC was a disaster. It worked very good when it worked, but on someArtur Grabowski
machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
2001-12-10Big cleanup inspired by NetBSD with some parts of the code from NetBSD.Artur Grabowski
- get rid of VOP_BALLOCN and VOP_SIZE - move the generic getpages and putpages into miscfs/genfs - create a genfs_node which must be added to the top of the private portion of each vnode for filsystems that want to use genfs_{get,put}pages - rename genfs_mmap to vop_generic_mmap
2001-12-10Merge in struct uvm_vnode into struct vnode.Artur Grabowski
2001-12-04Readd VOP_MMAP, will be used soon. Right now it's just a question toArtur Grabowski
the filesystem if we're allowed to mmap the file.
2001-11-27Merge in the unified buffer cache code as found in NetBSD 2001/03/10. TheArtur Grabowski
code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>. Tested for the past few weeks by many developers, should be in a pretty stable state, but will require optimizations and additional cleanups.
2001-06-23Get rid of several unused vnode operationsConstantine Sapuntzakis
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-02-23Remove the clustering fields from the vnodes and place them in theConstantine Sapuntzakis
file system inode instead
2001-02-20use void * consistently in vfs_mount and sys_mount. ok @artassar
2000-04-25From Assar: make adosfs compile, I was supposedNiklas Hallqvist
to commit this long ago.
2000-02-07update to use new checkexp vfs operationassar
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
1998-09-03Correct loop termination for adosfs_ihashgetConstantine Sapuntzakis
1998-08-21Fix malloc race on new anode get.Constantine Sapuntzakis
1998-08-21correct readlink(); kleinkTheo de Raadt
1998-08-06Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockConstantine Sapuntzakis
to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts).
1998-07-20typo & warnings make gcc unhappy.Marc Espie
1998-02-08Updates to match type changes in syscall tablesThorsten Lockert
1997-12-18trivia: typo in kernel panicgene
1997-11-10Use vfs lite2 lockmanager. Add advisory locking. some KNF.Niklas Hallqvist
some extra pathconf ops supported.
1997-11-06More fixes for adosfs so it compiles with VFS Lite 2Constantine Sapuntzakis
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-01-20Type pedantery.. a lot of it too, more could be done as well. Sync withNiklas Hallqvist
NetBSD 970118 too.
1996-10-13Fix some type incompatibilities another way roundNiklas Hallqvist
1996-08-23Some style and signedness pedanteryNiklas Hallqvist
1996-08-10fix decl; netbsd pr#2681; tv@pobox.comTheo de Raadt
1996-06-10internationalize, 64 bit cleanTheo de Raadt
1996-05-02sync with netbsdTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-02-26Addition of $OpenBSD$ RCSID.Niklas Hallqvist
From NetBSD: Rename struct timespec fields to conform to POSIX.1b
1996-02-24Add forward decls.Niklas Hallqvist
Fix vop_link, vop_symlink, and vop_remove semantics in several ways: * Change the argument names to vop_link so they actually make sense. * Implement vop_link and vop_symlink for all file systems, so they do proper cleanup. * Require the file system to decide whether or not linking and unlinking of directories is allowed, and disable it for all current file systems. Adosfs prototyping changes. Compiler warning police.
1995-11-13bzero adosfsmount so that mountd delete does not crash machine; from ↵Theo de Raadt
osymh@gemini.oscs.montana.edu; netbsd pr#1720
1995-10-18initial import of NetBSD treeTheo de Raadt