summaryrefslogtreecommitdiff
path: root/sys/msdosfs
AgeCommit message (Collapse)Author
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
1999-01-08always initialize error in inactiveArtur Grabowski
1998-08-21Make tabbing better.Constantine Sapuntzakis
1998-08-21malloc can block so there was a race in this code which could cause twoConstantine Sapuntzakis
vnodes to be created for a given file.
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-06-09the theTheo de Raadt
1998-05-02correct a fat32 write lockup; oki@yk.rim.or.jpTheo de Raadt
1998-04-17confusion over & and &&; cross@va.pubnix.comTheo de Raadt
1998-02-23GAS 2.8 + KNFNiklas Hallqvist
1998-02-08Updates to match type changes in syscall tablesThorsten Lockert
1998-01-11FAT32 support from NetBSD by Wolfgang Solfrank.Niels Provos
1997-11-11Initialize the de_lock. some KNFNiklas Hallqvist
1997-11-10dont crash on update mounting.Niels Provos
1997-11-09Don't panic on sync, based on changes from ext2fs_vfsops.c and ffs_vfsops.cTodd C. Miller