Up to [cvs.NetBSD.org] / src / sys / fs / msdosfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 28 00:17:18 2013 UTC (4 months, 3 weeks ago) by christos
CVS Tags: tls-maxphys-nbase, tls-maxphys-base, khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.27: +7 -3 lines
Diff to previous 1.27 (colored)
A little more debugging.
Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 27 22:04:19 2013 UTC (4 months, 3 weeks ago) by christos
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)
don't need sys/mount.h in userland.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 27 20:15:58 2013 UTC (4 months, 3 weeks ago) by christos
Changes since 1.25: +36 -24 lines
Diff to previous 1.25 (colored)
tidy up debugging printfs; no functional change.
Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 26 16:51:51 2013 UTC (4 months, 3 weeks ago) by christos
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)
more cross-compile friendly.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 26 00:21:49 2013 UTC (4 months, 3 weeks ago) by christos
Changes since 1.23: +13 -5 lines
Diff to previous 1.23 (colored)
expose more stuff if MAKEFS is defined for the headers, and arrange for the source file to be compilable from userland.
Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 20 11:44:39 2012 UTC (5 months, 4 weeks ago) by hannken
CVS Tags: yamt-pagecache-base8
Changes since 1.22: +6 -22 lines
Diff to previous 1.22 (colored)
Revert rev. 1.20 now that bread() has been fixed. PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 20 08:03:42 2012 UTC (5 months, 4 weeks ago) by hannken
Changes since 1.21: +2 -7 lines
Diff to previous 1.21 (colored)
Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error. Welcome to 6.99.16 PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 4 17:57:59 2012 UTC (7 months, 2 weeks ago) by jakllsch
CVS Tags: yamt-pagecache-base7
Changes since 1.20: +32 -32 lines
Diff to previous 1.20 (colored)
Stylistic changes in comments/strings: "FAT" and "fat" are different things, use the appropriate case. "GEMDOS" is all caps.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 9 11:10:06 2012 UTC (14 months, 1 week ago) by hannken
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.19: +22 -7 lines
Diff to previous 1.19 (colored)
pcbmap(): We cannot use bread() here as for the pagedaemon getblk() may fail leading to a panic in bread(). Replace bread() with getblk() / VOP_STRATEGY() and return an error if getblk() fails. Fixes PR#46282: 6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread This is an interim solution for easy pullup. The final solution is be to change bread() to not return a buffer on error. As we have to change all callers of bread() this will not qualify for a pullup.
Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 26 20:25:52 2010 UTC (3 years, 4 months ago) by joerg
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, netbsd-6-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)
On broken filesystems the fillinmap inner loop may have never read a block, so don't try to release it if bp==NULL.
Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:23 2009 UTC (4 years, 3 months ago) by dsl
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.17: +7 -8 lines
Diff to previous 1.17 (colored)
ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:21 2009 UTC (4 years, 3 months ago) by dsl
Changes since 1.16: +17 -69 lines
Diff to previous 1.16 (colored)
Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
Revision 1.16 / (download) - annotate - [select for diffs], Fri May 16 09:21:59 2008 UTC (5 years, 1 month ago) by hannken
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Changes since 1.15: +8 -8 lines
Diff to previous 1.15 (colored)
Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible. The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion. - Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned. - Always run copy-on-write on buffers returned from ffs_balloc(). - Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664. Welcome to 4.99.63 Reviewed by: YAMAMOTO Takashi <email@example.com>
Revision 1.15 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:04 2007 UTC (5 years, 8 months ago) by ad
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.14: +15 -15 lines
Diff to previous 1.14 (colored)
Merge brelse() changes from the vmlocking branch.
Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 29 20:23:36 2007 UTC (6 years, 1 month ago) by msaitoh
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, yamt-idlelwp-base8, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)
Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:59 2007 UTC (6 years, 3 months ago) by christos
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.12: +24 -24 lines
Diff to previous 1.12 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.12 / (download) - annotate - [select for diffs], Sat Nov 25 12:17:30 2006 UTC (6 years, 6 months ago) by scw
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.11: +25 -12 lines
Diff to previous 1.11 (colored)
Support FAT filesystems on non-DEV_BSIZE media. Based on the patches provided in PR kern/17398 by Trevin Beattie.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 22 17:45:21 2006 UTC (6 years, 8 months ago) by xtraeme
CVS Tags: yamt-splraiseipl-base2
Changes since 1.10: +39 -4 lines
Diff to previous 1.10 (colored)
Apply patch from PR kern/34583 sent by Rhialto, quoting him: "Add a 3rd entry in the cache, which keeps the end position from just before extending a file. This has the desired effect of keeping the write speed constant." And yes, that helps a lot copying large files... always at full speed now. This closes my PR kern/30868 "Poor performance copying large files on msdosfs". Also remove a 2 if-statements testing the same condition, combine them. All that from Rhialto, thank you very much.
Revision 1.10 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (7 years, 1 month ago) by elad
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base
Branch point for: yamt-splraiseipl, newlock2, abandoned-netbsd-4
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)
Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 15 02:58:12 2006 UTC (7 years, 2 months ago) by christos
CVS Tags: elad-kernelauth-base
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)
Coverity CID 839: Add KASSERT before deref.
Revision 1.8 / (download) - annotate - [select for diffs], Sat Apr 15 02:56:51 2006 UTC (7 years, 2 months ago) by christos
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)
Coverity CID 838: Add KASSERT before deref.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 24 20:45:09 2005 UTC (7 years, 5 months ago) by perry
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:25 2005 UTC (7 years, 6 months ago) by christos
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)
Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 29 23:57:35 2005 UTC (7 years, 9 months ago) by xtraeme
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.4: +11 -11 lines
Diff to previous 1.4 (colored)
Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 26 22:58:55 2005 UTC (8 years, 3 months ago) by perry
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, kent-audio2-base
Branch point for: yamt-lazymbuf, netbsd-3
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)
nuke trailing whitespace
Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:37 2004 UTC (9 years, 2 months ago) by christos
CVS Tags: yamt-km-base2, yamt-km-base, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)
Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 22 03:51:12 2003 UTC (9 years, 8 months ago) by briggs
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.1: +7 -2 lines
Diff to previous 1.1 (colored)
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.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 26 12:31:34 2002 UTC (10 years, 5 months ago) by jdolecek
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: nathanw_sa, ktrace-lwp
move msdosfs code from sys/msdosfs to sys/fs/msdosfs
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.