Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-09-23 | Replace 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-25 | rename struct dinode to ufs1_dinode. clears the namespace and makes | Ted Unangst | |
way for some future work. no function changes yet. few other little cleanups. help testing otto@ and markus@ | |||
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||
2003-08-14 | constify vfsops; tedu@ ok | Michael Shalayeff | |
2003-08-11 | if we run out of space, make the dead vnode VNON. if a VBLK gets out, it | Ted Unangst | |
causes trouble later. netbsd pr22419 | |||
2003-07-06 | remove ext2fs_vinit. it wasn't used and is identical to ufs_vinit. | Ted Unangst | |
otto made the diff for me, thanks. | |||
2003-07-06 | reset inode fields if deleted, prevents a panic after deleting a device. | Ted Unangst | |
from netbsd via otto moerbeek | |||
2003-07-06 | fix off by one. inodes start at 1, so e2fs_icount is a valid inode number. | Ted Unangst | |
from otto moerbeek | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-26 | fiddle with some type names. change most instances of ufs_daddr_t to | Ted Unangst | |
ufs1_daddr_t, a few to daddr_t. ufs_daddr_t typedef is retained, but consider it deprecated. no functional changes. inspired by freebsd. ok art@ | |||
2003-01-31 | File 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-11-08 | Implement simple vnodeop inheritance for specfs and fifofs. | Artur Grabowski | |
The inheritace is implemented by setting the default vnodeop to a bypass op that repeats the operation on the spec/fifo vnodeop vector. The overhead of one extra indirect function call is worth the cleanup and improved correctness. This actually solves a few bugs where some vnode ops were missing from some vectors (like kqfilter or revoke). (and even more on the ubc branch). Inspired by the same thing done in FreeBSD. | |||
2002-10-12 | Remove more '\n's from panic() statements. Both trailing and leading. | Kenneth R Westerback | |
Diff generated by Chris Kuethe. | |||
2002-07-29 | Fix two off-by-one errors when sanity-checking inode numbers. In | Federico G. Schwindt | |
ext2fs, inode numbers start at 1, so the maximum valid inode number is (s_inodes_per_group * s_groups_count), not one less. From FreeBSD. costa@ ok. | |||
2002-07-29 | add 2 flags from ext3. useful to help you diagnose problems. | Federico G. Schwindt | |
2002-07-28 | optionnal -> optional. | Federico G. Schwindt | |
2002-04-23 | In 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-30 | RCSId | Niklas Hallqvist | |
2002-03-14 | Final __P removal plus some cosmetic fixups | Todd C. Miller | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-02-22 | Extended Attribute support from FreeBSD/TrustedBSD ok art@, deraadt@ | Dale Rahn | |
2002-01-09 | If a write(2) is done with a length of zero bytes, short-circuit and do not | Thorsten Lockert | |
update the modification time -- required by POSIX. ok millert@ drahn@ | |||
2001-12-19 | UBC was a disaster. It worked very good when it worked, but on some | Artur 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-10 | Big 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-10 | Merge in struct uvm_vnode into struct vnode. | Artur Grabowski | |
2001-12-04 | Readd VOP_MMAP, will be used soon. Right now it's just a question to | Artur Grabowski | |
the filesystem if we're allowed to mmap the file. | |||
2001-11-27 | Merge in the unified buffer cache code as found in NetBSD 2001/03/10. The | Artur 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-11-21 | Use vfs_mount_foreach_vnode | Constantine Sapuntzakis | |
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-09-18 | Don't include sys/systm.h if not _KERNEL. | Artur Grabowski | |
2001-09-18 | move ext2fs_init to where it belongs. | Artur Grabowski | |
2001-09-18 | various cleanups from NetBSD | Artur Grabowski | |
2001-09-18 | More of cleanups, reliability and endianness fixes from NetBSD. | Artur Grabowski | |
2001-09-18 | clean | Artur Grabowski | |
2001-09-18 | Reorder includes. (ext2fs_extern.h needs ufs/inode.h) | Artur Grabowski | |
2001-09-18 | cosmetic fixes from NetBSD | Artur Grabowski | |
2001-09-18 | cosmetic and endianness fixes from NetBSD | Artur Grabowski | |
2001-09-18 | More cleanups from NetBSD and a bunch of endianness fixes. | Artur Grabowski | |
The file ext2fs_bswap.c contains some functions to aid bigendian machines. | |||
2001-09-17 | Some changes from NetBSD. Some cosmetic, some endianness fixes. | Artur Grabowski | |
Plus the unwinding code that undoes allocation if a part of it fails originally from ufs and FreeBSD. | |||
2001-09-17 | Cleanups. Mostly from NetBSD. | Artur Grabowski | |
2001-07-26 | Back out changes to symlink and mknod that were not well tested. | Todd C. Miller | |
A simple mknod at causes a kernel panic (uvm_fault). | |||
2001-07-26 | change vop_symlink and vop_mknod to return vpp (the created node) | assar | |
refed, so that the caller can actually use it. update callers and file systems that implement these vnode operations ok'd by art | |||
2001-07-16 | Make truncating a device a no-op instead of returning an error. We can | Constantine Sapuntzakis | |
fix the rest of the kernel some other time. | |||
2001-07-16 | Don't try to truncate anything except for symlinks, directories, and | Constantine Sapuntzakis | |
regular files. ftruncate and truncate that go through FFS/EXT2FS/MFS will now return EINVAL when done on devices. Bug introduced when VOP_TRUNCATE was removed, thus removing spec_truncate. Thanks to millert@ for tracking this one down. | |||
2001-06-27 | Remove old vm. | Artur Grabowski | |
2001-06-23 | Privatize several vnode operations that are not used by the generic code. | Constantine Sapuntzakis | |
2001-06-05 | make kqueue work on ext2fs | Niels Provos | |
2001-05-24 | - fix pr 1548: Cannot set arbitrary atime/mtime on ext2fs volume | jasoni | |
- checked by gluk@ | |||
2001-04-06 | Free the right variable on error | Constantine Sapuntzakis | |
2001-03-25 | Free the right variable. Thanks to Dawson and team. | Constantine Sapuntzakis | |