The NetBSD Project

CVS log for src/sys/fs/msdosfs/msdosfs_fat.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / fs / msdosfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19.12.4 / (download) - annotate - [select for diffs], Thu May 22 11:41:00 2014 UTC (2 months, 1 week ago) by yamt
Branch: yamt-pagecache
Changes since 1.19.12.3: +54 -30 lines
Diff to previous 1.19.12.3 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:47 2013 UTC (17 months ago) by tls
Branch: tls-maxphys
Changes since 1.20.2.1: +58 -55 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

resync with head

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 28 00:17:18 2013 UTC (18 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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 (18 months ago) by christos
Branch: MAIN
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 (18 months ago) by christos
Branch: MAIN
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 (18 months ago) by christos
Branch: MAIN
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 (18 months ago) by christos
Branch: MAIN
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.19.12.3 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:19 2013 UTC (18 months, 1 week ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.19.12.2: +6 -27 lines
Diff to previous 1.19.12.2 (colored) to branchpoint 1.19 (colored)

sync with head

Revision 1.19.12.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:39 2013 UTC (18 months, 2 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.19.12.1: +32 -32 lines
Diff to previous 1.19.12.1 (colored) to branchpoint 1.19 (colored)

sync with (a bit old) head

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 20 11:44:39 2012 UTC (19 months, 1 week ago) by hannken
Branch: MAIN
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 (19 months, 1 week ago) by hannken
Branch: MAIN
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.20.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:40 2012 UTC (20 months, 1 week ago) by tls
Branch: tls-maxphys
Changes since 1.20: +32 -32 lines
Diff to previous 1.20 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 4 17:57:59 2012 UTC (20 months, 3 weeks ago) by jakllsch
Branch: MAIN
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.19.16.1 / (download) - annotate - [select for diffs], Sun Apr 29 23:05:03 2012 UTC (2 years, 3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.19: +22 -7 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync to latest -current.

Revision 1.19.12.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:18 2012 UTC (2 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.19: +22 -7 lines
Diff to previous 1.19 (colored)

sync with head

Revision 1.19.18.1 / (download) - annotate - [select for diffs], Mon Apr 16 15:37:12 2012 UTC (2 years, 3 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.19: +22 -7 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Pull up following revision(s) (requested by hannken in ticket #183):
	sys/fs/msdosfs/msdosfs_fat.c: revision 1.20
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.20 / (download) - annotate - [select for diffs], Mon Apr 9 11:10:06 2012 UTC (2 years, 3 months ago) by hannken
Branch: MAIN
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.15.22.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:13 2010 UTC (4 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.22.1: +4 -3 lines
Diff to previous 1.15.22.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 26 20:25:52 2010 UTC (4 years, 6 months ago) by joerg
Branch: MAIN
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.16.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:50 2009 UTC (5 years, 2 months ago) by jym
Branch: jym-xensuspend
Changes since 1.16: +22 -75 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.15.22.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:43 2009 UTC (5 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15: +28 -81 lines
Diff to previous 1.15 (colored)

sync with head.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:53 2009 UTC (5 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.16: +22 -75 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:23 2009 UTC (5 years, 4 months ago) by dsl
Branch: MAIN
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 (5 years, 4 months ago) by dsl
Branch: MAIN
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.15.24.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:47 2008 UTC (6 years, 1 month ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15: +8 -8 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.15.18.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:05 2008 UTC (6 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.15: +8 -8 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.15.20.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:02 2008 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pf42
Changes since 1.15: +8 -8 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Fri May 16 09:21:59 2008 UTC (6 years, 2 months ago) by hannken
Branch: MAIN
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-2-RELEASE, netbsd-5-2-1-RELEASE, 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-4-RELEASE, netbsd-5-1-3-RELEASE, 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 <yamt@netbsd.org>

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:08 2007 UTC (6 years, 8 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.14: +15 -15 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with HEAD

Revision 1.4.4.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:05 2007 UTC (6 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.4.3: +15 -15 lines
Diff to previous 1.4.4.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:15 2007 UTC (6 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.14: +15 -15 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:29 2007 UTC (6 years, 9 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.14: +15 -15 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:04 2007 UTC (6 years, 9 months ago) by ad
Branch: MAIN
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.4.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:25 2007 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.4.2: +25 -25 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:24 2007 UTC (7 years ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Fri Jun 8 14:14:59 2007 UTC (7 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.13.2.1: +3 -3 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sun May 13 17:36:31 2007 UTC (7 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.13: +15 -15 lines
Diff to previous 1.13 (colored)

- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Mon May 7 10:55:41 2007 UTC (7 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.12.4.1: +3 -3 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 29 20:23:36 2007 UTC (7 years, 3 months ago) by msaitoh
Branch: MAIN
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)

fix typos

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:11 2007 UTC (7 years, 4 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.12: +24 -24 lines
Diff to previous 1.12 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:59 2007 UTC (7 years, 4 months ago) by christos
Branch: MAIN
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.10.8.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:05 2007 UTC (7 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.10.8.1: +25 -12 lines
Diff to previous 1.10.8.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:56 2006 UTC (7 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.4.1: +62 -14 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.10.10.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:38 2006 UTC (7 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.10.10.1: +25 -12 lines
Diff to previous 1.10.10.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Nov 25 12:17:30 2006 UTC (7 years, 8 months ago) by scw
Branch: MAIN
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.10.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:18 2006 UTC (7 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.10: +39 -4 lines
Diff to previous 1.10 (colored)

Sync with head.

Revision 1.10.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:06 2006 UTC (7 years, 9 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.10: +39 -4 lines
Diff to previous 1.10 (colored)

sync with head

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Fri Oct 6 19:42:51 2006 UTC (7 years, 9 months ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.4: +39 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #1525):
	sys/fs/msdosfs/denode.h: revision 1.14
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.31
	sys/fs/msdosfs/msdosfs_fat.c: revision 1.11
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.6.1 / (download) - annotate - [select for diffs], Sat Sep 23 09:25:38 2006 UTC (7 years, 10 months ago) by ghen
Branch: abandoned-netbsd-4
Changes since 1.10: +37 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #206):
	sys/fs/msdosfs/denode.h: revision 1.14
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.31
	sys/fs/msdosfs/msdosfs_fat.c: revision 1.11
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.11 / (download) - annotate - [select for diffs], Fri Sep 22 17:45:21 2006 UTC (7 years, 10 months ago) by xtraeme
Branch: MAIN
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.7.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:56:57 2006 UTC (7 years, 10 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:29 2006 UTC (8 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +16 -13 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.7.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:37:51 2006 UTC (8 years, 2 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.7.6.1: +3 -2 lines
Diff to previous 1.7.6.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with head.

Revision 1.7.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:34 2006 UTC (8 years, 2 months ago) by tron
Branch: peter-altq
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:35 2006 UTC (8 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (8 years, 2 months ago) by elad
Branch: MAIN
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)

integrate kauth.

Revision 1.7.10.2 / (download) - annotate - [select for diffs], Sat May 6 23:31:29 2006 UTC (8 years, 2 months ago) by christos
Branch: elad-kernelauth
Changes since 1.7.10.1: +3 -2 lines
Diff to previous 1.7.10.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:57 2006 UTC (8 years, 3 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

Sync with head.

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 05:03:55 2006 UTC (8 years, 3 months ago) by elad
Branch: elad-kernelauth
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 15 02:58:12 2006 UTC (8 years, 3 months ago) by christos
Branch: MAIN
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 (8 years, 3 months ago) by christos
Branch: MAIN
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 (8 years, 7 months ago) by perry
Branch: MAIN
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 (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

merge ktrace-lwp.

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:27 2005 UTC (8 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.4: +11 -11 lines
Diff to previous 1.1.4.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 29 23:57:35 2005 UTC (8 years, 11 months ago) by xtraeme
Branch: MAIN
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)

Remove __P()

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:22 2005 UTC (9 years, 3 months ago) by kent
Branch: kent-audio2
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with -current

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:10 2005 UTC (9 years, 4 months ago) by yamt
Branch: yamt-km
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:45 2005 UTC (9 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.3: +3 -3 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 26 22:58:55 2005 UTC (9 years, 5 months ago) by perry
Branch: MAIN
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.1.4.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:01 2004 UTC (9 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.2: +2 -2 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

Fix the sync with head I botched.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:52:49 2004 UTC (9 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.1: +0 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:42 2004 UTC (9 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1: +8 -3 lines
Diff to previous 1.1 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:37 2004 UTC (10 years, 3 months ago) by christos
Branch: MAIN
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 (10 years, 9 months ago) by briggs
Branch: MAIN
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.2.2 / (download) - annotate - [select for diffs], Sun Dec 29 19:56:02 2002 UTC (11 years, 7 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.1: +1076 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

With with HEAD.

Revision 1.1.2.1, Thu Dec 26 12:31:34 2002 UTC (11 years, 7 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.1: +0 -1076 lines
FILE REMOVED

file msdosfs_fat.c was added on branch nathanw_sa on 2002-12-29 19:56:02 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 26 12:31:34 2002 UTC (11 years, 7 months ago) by jdolecek
Branch: MAIN
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.




CVSweb <webmaster@jp.NetBSD.org>