summaryrefslogtreecommitdiff
path: root/sys/msdosfs
AgeCommit message (Collapse)Author
2003-12-10fix NULL/0 mixupJun-ichiro itojun Hagino
2003-12-04TyposMiod Vallat
2003-11-13Couple of typos in poll changes. ok millert@Dale Rahn
2003-10-22from netbsd:Ted Unangst
Fix a panic that occurred when trying to traverse a corrupt msdosfs filesystem. With this particular corruption, the code in pcbmap() would compute an offset into an array that was way out of bounds, so check the bounds before trying to access and return an error if the offset would be out of bounds.
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-15change arguments to suser. suser now takes the process, and a flagsTed 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-14don't write grabage in unused direntry field. newer windows versionsTed Unangst
don't like it. pr3400
2003-08-14constify vfsops; tedu@ okMichael Shalayeff
2003-07-29constify the conversion tablesMichael Shalayeff
2003-05-07string cleaning; ok art teduTheo de Raadt
2003-04-26fix handling when renaming directories on fat32. mv a/b . would mess up theTed Unangst
file system. submitted by mpech@ in pr1675
2003-04-18support for making directories +x without affecting normal filesTed Unangst
ok millert@
2003-04-14rename rootvp to rvp to avoid global. ok deraadt@ krw@Ted Unangst
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-24protect biodone 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-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-12-02Fix msdos filesystem read/write errors with large files, bug introducedDale Rahn
with UBC. part of fix from csapuntz@. ok art@
2001-11-28don't generate an error if setting the gid/uid doesn't actually changeJakob Schlyter
the gid/uid. among other things, this eliminates tons of warnings when unpacking a tar file in an msdos fs. from NetBSD. ok millert@, fgs@.
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-11-21VOP_UNLOCK + vrele does not alway == vputConstantine Sapuntzakis
2001-11-21Use vfs_mount_foreach_vnodeConstantine Sapuntzakis
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-08-23retreive -> retrieveAaron Campbell
2001-07-26remove unused support for creating files and directories fromassar
msdosfs_mknod. ok'd by art
2001-06-27Remove old vm.Artur Grabowski
2001-06-23Get rid of several vnode operationsConstantine Sapuntzakis
2001-05-17It's Daylight Saving Time, not Savings. Fix comments.Peter Valchev
Discussed with pjanzen@
2001-03-04These file systems don't do softudpates.Constantine Sapuntzakis
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
2001-02-07fix debug case; from Mike Pechkin <mpech@prosoft.org.lv>Michael Shalayeff
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-06-07Avoid superfluous vrele in msdosfs_rename.Artur Grabowski
fixes 1249. From gluk@ptci.ru
2000-03-15Support FAT32 partitions >4GB (up to 128GB, in fact); d@ ok, from NetBSD.Aaron Campbell
2000-02-07update to use new checkexp vfs operationassar
1999-11-17There is no msdosfs_abortop. Remove prototype.Artur Grabowski
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.
1999-05-01do not count on BOOTSIG0 and BOOTSIG1 being in a msdos filesystem. NotTheo de Raadt
all filesystems need to contain those; mark@nfr.net
1999-04-28zap the newhashinit hack.Artur Grabowski
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
1999-02-26compat with uvm vnode pagerArtur Grabowski
1999-02-19Fix a bug where the root directory could look corrupted on FAT12.Artur Grabowski
I'm not sure if this fix is correct but: some comments in the code say that it should be done this way, it fixes the particular problem, it doesn't break anything else, noone who got the diff complained (in two months).
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1999-01-10honor MNT_NOATIME. from FreeBSDArtur Grabowski
1999-01-10make this compile with MSDOSFS_DEBUGArtur Grabowski
1999-01-10make this work with MSDOSFS_DEBUGArtur Grabowski