The NetBSD Project

CVS log for src/sys/ufs/ufs/quota.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28.4.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:23:00 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.28.4.1: +9 -1 lines
Diff to previous 1.28.4.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored) to selected 1.8.4.1 (colored)

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Sun Aug 26 02:32:14 2012 UTC (11 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.29: +9 -1 lines
Diff to previous 1.29 (colored) to selected 1.8.4.1 (colored)

Move INITQFNAMES to the right header file.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:57 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.28: +10 -10 lines
Diff to previous 1.28 (colored) to selected 1.8.4.1 (colored)

sync with head

Revision 1.28.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:55 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.28: +10 -10 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.8.4.1 (colored)

merge to -current.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jan 29 07:16:00 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, 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-6-RELEASE, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Changes since 1.28: +10 -10 lines
Diff to previous 1.28 (colored) to selected 1.8.4.1 (colored)

Rename static inline "helper" functions:
   ufsclass2qtype -> quota_idtype_to_ufs
   qtype2ufsclass -> quota_idtype_from_ufs

The reason for the direction of "ufs" changing is that the old names
were among the symbols using "ufs" to mean "fs-independent". So the
old names were for translating "ufsclass" (fs-independent quota id
type) to "qtype" (ufs-specific quota id type) and vice versa.

These functions are used in only two places, both of which are
inappropriate, so at some point they should probably be removed.
They're also identity transformations so not particularly helpful,
unless one were to make a careful and concerted effort to distinguish
the ufs quota code numbers from the fs-independent ones. This has not
been done and is probably impossible without support from a program
verifier, and maybe not even then.

They are static inline, so no compat concerns arise.

Also adjust the symbols they use to avoid <quota/quotaprop.h>.

Revision 1.25.62.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:18 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.25: +30 -56 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.8.4.1 (colored)

Sync with HEAD.

Revision 1.25.56.1 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:21 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.25: +30 -56 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.8.4.1 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Fri Mar 25 10:25:17 2011 UTC (13 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored) to selected 1.8.4.1 (colored)

Don't include quota/quotaprop.h for tools.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Mar 24 17:05:45 2011 UTC (13 years ago) by bouyer
Branch: MAIN
Changes since 1.26: +26 -15 lines
Diff to previous 1.26 (colored) to selected 1.8.4.1 (colored)

Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)

Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:39 2011 UTC (13 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.25: +11 -50 lines
Diff to previous 1.25 (colored) to selected 1.8.4.1 (colored)

merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

Revision 1.25.64.3 / (download) - annotate - [select for diffs], Wed Feb 9 11:18:29 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.25.64.2: +1 -2 lines
Diff to previous 1.25.64.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.8.4.1 (colored)

Various build fixes

Revision 1.25.64.2 / (download) - annotate - [select for diffs], Mon Jan 31 15:19:21 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.25.64.1: +12 -2 lines
Diff to previous 1.25.64.1 (colored) to branchpoint 1.25 (colored) to selected 1.8.4.1 (colored)

Rename defininition for limits Q2V_* to QL_* and move from quota2.h to quota.h.

Revision 1.25.64.1 / (download) - annotate - [select for diffs], Thu Jan 20 14:25:03 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.25: +3 -51 lines
Diff to previous 1.25 (colored) to selected 1.8.4.1 (colored)

Snapshot of work in progress on a modernised disk quota system:
- new quotactl syscall (versionned for backward compat), which takes
  as parameter a path to a mount point, and a prop_dictionary
  (in plistref format) describing commands and arguments.
  For each command, status and data are returned as a prop_dictionary.
  quota commands features will be added to take advantage of this,
  exporting quota data or getting quota commands as plists.

- new on disk-format storage (all 64bit wide), integrated to metadata for
  ffs (and playing nicely with wapbl).
  Quotas are enabled on a ffs filesystem via superblock flags.
  tunefs(8) can enable or disable quotas.
  On a quota-enabled filesystem, fsck_ffs(8) will track per-uid/gid
  block and inode usages, and will check and update quotas in Pass 6.
  quota usage and limits are stored in unliked files (one for users,
  one for groups)l fsck_ffs(8) will create the files if needed, or
  free them if needed. This means that after enabling or disabling
  quotas on a filesystem; a fsck_ffs(8) run is required.
  quotacheck(8) is not needed any more, on a unclean shutdown
  fsck or journal replay will take care of fixing quotas.
  newfs(8) can create a ready-to-mount quota-enabled filesystem
  (superblock flags are set and quota inodes are created).
  Other new features or semantic changes:
  - default quota datas, applied to users or groups which don't already
    have a quota entry
  - per-user/group grace time (instead of a filesystem global one)
  - 0 really means "nothing allowed at all", not "no limit".
    If you want "no limit", set the limit to UQUAD_MAX (tools will
    understand "unlimited" and "-")

  A quota file is structured as follow:
  it starts with a header, containing a few per-filesystem values,
  and the default quota limits.
  Quota entries are linked together as a simple list, each entry has a
  pointer (as an offset withing the file) to the next.
  The header has a pointer to a list of free quota entries, and
  a hash table of in-use entries. The size of the hash table depends
  on the filesystem block size (header+hash table should fit in the
  first block). The file is not sparse and is a multiple of
  filesystem block size (when the free quota entry list is empty a new
  filesystem block is allocated). quota entries to not cross
  filesystem block boundaries.

  In memory, the kernel keeps a cache of recently used quota entries
  as a reference to the block number, and offset withing the block.
  The quota entry itself is keept in the buf cache.

fsck_ffs(8), tunefs(8) and newfs(8) supports are completed (with
related atf tests :)
The kernel can update disk usage and report it via quotactl(2).

Todo: enforce quotas limits (limits are not checked by kernel yet)
      update repquota, edquota and rpc.rquotad to the new world
      implement compat_50_quotactl ioctl.
      update quotactl(2) man page

fsck_ffs required fixes so that allocating new blocks or inodes will
properly update the superblock and cg sumaries. This was not an issue up
to now because superblock and cg sumaries check happened last, but now
allocations or frees can happen in pass 6.

Revision 1.18.12.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:58 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.12.1: +1 -83 lines
Diff to previous 1.18.12.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.8.4.1 (colored)

sync with head.

Revision 1.22.18.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:05:22 2007 UTC (16 years, 7 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.8.4.1 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Sat Aug 11 15:09:49 2007 UTC (16 years, 8 months ago) by bouyer
Branch: netbsd-2
Changes since 1.17: +2 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.8.4.1 (colored)

Pull up following revision(s) (requested by hannken in ticket #11334):
	sys/ufs/ufs/ufs_quota.c: revision 1.46
	sys/ufs/ufs/quota.h: revision 1.24
If a quota-enabled file system has 65536 active vnodes for one uid
the reference counter of the corresponding struct dquot will overflow.
Change the type of the reference counter from u_int16_t to u_int32_t and
add an assertion to check for overflow.
Observed and tested by Edgar Fu

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:28:19 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.23: +1 -83 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.8.4.1 (colored)

Sync with head.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:49 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.23: +1 -83 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.8.4.1 (colored)

Sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jul 10 09:50:08 2007 UTC (16 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, 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-5-RELEASE, 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-ufs-trans-base, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, 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-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, bouyer-quota2-nbase, bouyer-quota2-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.24: +1 -82 lines
Diff to previous 1.24 (colored) to selected 1.8.4.1 (colored)

Move `struct dquot' and its supporting functions from quota.h to ufs_quota.c.

- Make quota-internal functions static.
- Clean up declarations in quota.h and ufs_extern.h.  quota.h now has the
  description of quota criterions, on-disk structure, user-kernel interface and
  declaration of init/done functions.  All ufs quota related function
  prototypes go to ufs_extern.h.
- New functions ufsquota_init() and ufsquota_free() create or destroy the
  quota fields of `struct inode'.
- chkdq() and chkiq() always update the quota fields of `struct inode' first.
- Only ufs_access() explicitely calls getinoquota().

No objections on tech-kern@

Revision 1.22.12.1 / (download) - annotate - [select for diffs], Thu Jun 28 12:36:01 2007 UTC (16 years, 9 months ago) by ghen
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-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, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.8.4.1 (colored)

Pull up following revision(s) (requested by hannken in ticket #747):
	sys/ufs/ufs/ufs_quota.c: revision 1.46
	sys/ufs/ufs/quota.h: revision 1.24
	sys/sys/param.h: patch
If a quota-enabled file system has 65536 active vnodes for one uid
the reference counter of the corresponding struct dquot will overflow.
Change the type of the reference counter from u_int16_t to u_int32_t and
add an assertion to check for overflow.
Bump kernel version as LKM's depending on UFS internals will have to be
recompiled after this change (discussed and approved on tech-kern).

Revision 1.18.16.1 / (download) - annotate - [select for diffs], Thu Jun 28 11:43:31 2007 UTC (16 years, 9 months ago) by ghen
Branch: netbsd-3-1
CVS Tags: netbsd-3-1-1-RELEASE
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.8.4.1 (colored)

Pull up following revision(s) (requested by hannken in ticket #1807):
	sys/ufs/ufs/ufs_quota.c: revision 1.46
	sys/ufs/ufs/quota.h: revision 1.24
	sys/sys/param.h: patch
If a quota-enabled file system has 65536 active vnodes for one uid
the reference counter of the corresponding struct dquot will overflow.
Change the type of the reference counter from u_int16_t to u_int32_t and
add an assertion to check for overflow.
Bump kernel version as LKM's depending on UFS internals will have to be
recompiled after this change (discussed and approved on tech-kern).

Revision 1.18.14.1 / (download) - annotate - [select for diffs], Thu Jun 28 11:43:21 2007 UTC (16 years, 9 months ago) by ghen
Branch: netbsd-3-0
CVS Tags: netbsd-3-0-3-RELEASE
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.8.4.1 (colored)

Pull up following revision(s) (requested by hannken in ticket #1807):
	sys/ufs/ufs/ufs_quota.c: revision 1.46
	sys/ufs/ufs/quota.h: revision 1.24
	sys/sys/param.h: patch
If a quota-enabled file system has 65536 active vnodes for one uid
the reference counter of the corresponding struct dquot will overflow.
Change the type of the reference counter from u_int16_t to u_int32_t and
add an assertion to check for overflow.
Bump kernel version as LKM's depending on UFS internals will have to be
recompiled after this change (discussed and approved on tech-kern).

Revision 1.18.10.1 / (download) - annotate - [select for diffs], Thu Jun 28 11:43:12 2007 UTC (16 years, 9 months ago) by ghen
Branch: netbsd-3
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.8.4.1 (colored)

Pull up following revision(s) (requested by hannken in ticket #1807):
	sys/ufs/ufs/ufs_quota.c: revision 1.46
	sys/ufs/ufs/quota.h: revision 1.24
	sys/sys/param.h: patch
If a quota-enabled file system has 65536 active vnodes for one uid
the reference counter of the corresponding struct dquot will overflow.
Change the type of the reference counter from u_int16_t to u_int32_t and
add an assertion to check for overflow.
Bump kernel version as LKM's depending on UFS internals will have to be
recompiled after this change (discussed and approved on tech-kern).

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jun 23 14:56:09 2007 UTC (16 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) to selected 1.8.4.1 (colored)

If a quota-enabled file system has 65536 active vnodes for one uid
the reference counter of the corresponding struct dquot will overflow.

Change the type of the reference counter from u_int16_t to u_int32_t and
add an assertion to check for overflow.

Observed and tested by Edgar Fu

Welcome to 4.99.21 (struct dquot and therefore struct inode changed layout)

Revision 1.22.14.1 / (download) - annotate - [select for diffs], Mon Mar 12 06:01:10 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.8.4.1 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:46 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) to selected 1.8.4.1 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:13 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.21: +5 -6 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.8.4.1 (colored)

sync with head

Revision 1.18.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:39 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18: +24 -34 lines
Diff to previous 1.18 (colored) to selected 1.8.4.1 (colored)

sync with head.

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:44 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.21: +5 -6 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.8.4.1 (colored)

Sync with head.

Revision 1.21.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:48 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.21: +5 -6 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.8.4.1 (colored)

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

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:59:26 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.21: +5 -6 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.8.4.1 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 14 21:33:39 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp, wrstuden-fixsa, netbsd-4
Changes since 1.21: +5 -6 lines
Diff to previous 1.21 (colored) to selected 1.8.4.1 (colored)

integrate kauth.

Revision 1.21.10.2 / (download) - annotate - [select for diffs], Sat May 6 23:32:58 2006 UTC (17 years, 11 months ago) by christos
Branch: elad-kernelauth
Changes since 1.21.10.1: +1 -2 lines
Diff to previous 1.21.10.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.8.4.1 (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.21.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:39:12 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored) to selected 1.8.4.1 (colored)

Adapt to kernel authorization KPI.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Dec 27 04:06:46 2005 UTC (18 years, 3 months ago) by chs
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, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.20: +1 -10 lines
Diff to previous 1.20 (colored) to selected 1.8.4.1 (colored)

changes for making DIAGNOSTIC not change the kernel ABI:
 - for structure fields that are conditionally present,
   make those fields always present.
 - for functions which are conditionally inline, make them never inline.
 - remove some other functions which are conditionally defined but
   don't actually do anything anymore.
 - make a lock-debugging function conditional on only LOCKDEBUG.

as discussed on tech-kern some time back.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:28 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored) to selected 1.8.4.1 (colored)

merge ktrace-lwp.

Revision 1.16.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:39 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.2.5: +24 -24 lines
Diff to previous 1.16.2.5 (colored) next main 1.17 (colored) to selected 1.8.4.1 (colored)

Sync with HEAD. Here we go again...

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 10 00:18:52 2005 UTC (18 years, 9 months ago) by thorpej
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.18: +24 -24 lines
Diff to previous 1.18 (colored) to selected 1.8.4.1 (colored)

- Use ANSI function decls.
- Sprinkle some static.

Revision 1.16.2.5 / (download) - annotate - [select for diffs], Wed Oct 27 06:24:01 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.2.4: +2 -2 lines
Diff to previous 1.16.2.4 (colored) to selected 1.8.4.1 (colored)

Remove the struct lwp * arguments from qsync and ufs_checkpath that are
no longer (read: were never) required.

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:39:22 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.2.3: +5 -5 lines
Diff to previous 1.16.2.3 (colored) to selected 1.8.4.1 (colored)

Fix the sync with head I botched.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:59 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.2.2: +5 -5 lines
Diff to previous 1.16.2.2 (colored) to selected 1.8.4.1 (colored)

Sync with HEAD.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:57:00 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.2.1: +3 -7 lines
Diff to previous 1.16.2.1 (colored) to selected 1.8.4.1 (colored)

Sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Tue Apr 27 17:37:31 2004 UTC (19 years, 11 months ago) by jrf
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, 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-2-RELEASE, netbsd-3-0-1-RELEASE, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf, netbsd-3-1, netbsd-3-0, netbsd-3
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.8.4.1 (colored)

First pass for some caddr_t removal and changes to get rid of it where we
no longer use and/or need it

	- removed casts from unionfs, deadfs and fdesc
	  (there are more to hunt down still)
	- changed vfs_quotactl args argumet from caddr_t to void *
	- changed vfs_quotactl structures/callers to reflect the api change

Compiled fine and ran for about a day. Approved/reviewed by
christos@netbsd.org and gimpy@netbsd.org.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:44 2003 UTC (20 years, 8 months ago) by agc
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
Branch point for: netbsd-2
Changes since 1.16: +2 -6 lines
Diff to previous 1.16 (colored) to selected 1.8.4.1 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:27:26 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored) to selected 1.8.4.1 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:44 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored) to selected 1.8.4.1 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:28 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored) to selected 1.8.4.1 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:43 2003 UTC (21 years ago) by fvdl
Branch: MAIN
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored) to selected 1.8.4.1 (colored)

Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Wed Dec 11 06:51:48 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.9.2.2: +2 -2 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.8.4.1 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 1 00:12:12 2002 UTC (21 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.8.4.1 (colored)

Add multiple inclusion protection for headers.  Fix mismatched
variable declarations (missing const's) as needed.

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:05:21 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.9: +6 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.8.4.1 (colored)

Sync kqueue branch with -current.

Revision 1.8.4.1 / (download) - annotate - [selected], Sun Nov 25 19:19:30 2001 UTC (22 years, 4 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pull up revision 1.9 (requested by lukem):
  Use int32_t for on-disk time_t representation.
  Convert %q_ to %ll_ in print formats.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:19:01 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9.2.1: +5 -5 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) to selected 1.8.4.1 (colored)

Catch up to -current.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:50 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.8.4.1 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Nov 6 06:40:44 2001 UTC (22 years, 5 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.8.4.1 (colored)

Remove superfluous semicolon.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Oct 26 05:44:29 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored) to selected 1.8.4.1 (colored)

rename inclusion protection define from _QUOTA_ to _UFS_UFS_QUOTA_H_

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:48:33 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.8.4.1 (colored)

Catch up with -current.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Fri Sep 21 22:37:09 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) to selected 1.8.4.1 (colored)

Catch up to -current.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Sep 15 16:13:06 2001 UTC (22 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) to selected 1.8.4.1 (colored)

add a new VFS op, vfs_reinit, which is called when desiredvnodes is
adjusted via sysctl.  file systems that have hash tables which are
sized based on the value of this variable now resize those hash tables
using the new value.  the max number of FFS softdeps is also recalculated.

convert various file systems to use the <sys/queue.h> macros for
their hash tables.

Revision 1.7.28.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:32:07 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7.28.1: +3 -3 lines
Diff to previous 1.7.28.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.8.4.1 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 23 02:25:11 2001 UTC (23 years, 1 month ago) by eeh
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base, perseant-lfsv2-base, perseant-lfsv2
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.8.4.1 (colored)

Use int32_t for on-disk time_t values.

Revision 1.7.28.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:53 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored) to selected 1.8.4.1 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 16 18:26:49 2000 UTC (24 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored) to selected 1.8.4.1 (colored)

Change ufs_init() to keep global count of how many times it was called.
Resources are initialized still just once (on first call).

Add ufs_done(), which takes care of freeing all resources allocated in
ufs_init(). The resources are freed only when last user of the code exits.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:14:05 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +24 -24 lines
Diff to previous 1.1.1.1 (colored) to selected 1.8.4.1 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:10:51 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored) to selected 1.8.4.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 28 19:07:06 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, thorpej-signal-base, thorpej-signal, thorpej-setroot, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, mrg-vm-swap, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, is-newarp-before-merge, is-newarp-base, is-newarp, fvdl-softdep-base, fvdl-softdep, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc, bouyer-scsipi
Branch point for: thorpej_scsipi
Changes since 1.6: +5 -1 lines
Diff to previous 1.6 (colored) to selected 1.8.4.1 (colored)

Add prototype for quotactl.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 26 20:38:17 1995 UTC (29 years ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.8.4.1 (colored)

KERNEL -> _KERNEL

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 21 20:07:26 1994 UTC (29 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored) to selected 1.8.4.1 (colored)

#include sys/queue.h, but also hide kernel structures in #ifdef KERNEL.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 13 21:14:43 1994 UTC (29 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +29 -26 lines
Diff to previous 1.3 (colored) to selected 1.8.4.1 (colored)

Sync with CSRG.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 20 04:21:20 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.2: +31 -34 lines
Diff to previous 1.2 (colored) to selected 1.8.4.1 (colored)

update for new syscall args description mechanism, and deal safely
with wider types.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 29 06:47:23 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored) to selected 1.8.4.1 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 8 11:43:09 1994 UTC (29 years, 10 months ago) by mycroft
Branch: MAIN
Diff to selected 1.8.4.1 (colored)

Update to 4.4-Lite fs code, with local changes.

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>