The NetBSD Project

CVS log for src/sys/ufs/lfs/lfs_itimes.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:36 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11: +2 -9 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:55 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.11: +2 -9 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:26:00 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.11: +2 -9 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:11 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, 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, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-6-base, netbsd-6, netbsd-5-base, 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-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, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, 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-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2, HEAD
Changes since 1.11: +2 -9 lines
Diff to previous 1.11 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.10.36.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:28 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.10: +8 -4 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.9.4.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:11 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.3: +8 -4 lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.10.30.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:30 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.10: +8 -4 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with HEAD

Revision 1.10.44.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:58:25 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.10: +6 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:11 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.10: +8 -4 lines
Diff to previous 1.10 (colored)

Merge vmlocking2 to head.

Revision 1.10.40.2 / (download) - annotate - [select for diffs], Wed Dec 19 21:27:16 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.10.40.1: +8 -8 lines
Diff to previous 1.10.40.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Use a global lfs_lock.

Revision 1.10.40.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:50 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.10: +8 -4 lines
Diff to previous 1.10 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.10.14.1 / (download) - annotate - [select for diffs], Tue Mar 13 17:51:28 2007 UTC (5 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.10: +8 -4 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pull in the initial set of changes for the vmlocking branch.

Revision 1.9.4.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:51:01 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.2: +3 -3 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:00 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.4: +9 -7 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:50:13 2006 UTC (5 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Merge from HEAD.

Revision 1.4.8.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:54:49 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4.8.2: +8 -6 lines
Diff to previous 1.4.8.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 23 14:13:02 2006 UTC (5 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, 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-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, thorpej-atomic-base, thorpej-atomic, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: vmlocking2, vmlocking, mjf-devfs, matt-armv6, bouyer-xeni386
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

fix a simonb-timecounters regression.
the precision of getnanotime() is not suitable for file timestamps.
esp. when it's nfs-exported.

- introduce vfs_timestamp().
  (the name is from freebsd.  currently merely a wrapper of nanotime())
- for ufs-like filesystems, use it rather than getnanotime().

XXX check other filesystems.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:39 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9.4.1: +121 -0 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:11:44 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.8: +8 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.9.4.1, Wed Jun 7 22:34:43 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.9: +0 -121 lines
FILE REMOVED

file lfs_itimes.c was added on branch yamt-lazymbuf on 2006-06-21 15:12:39 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 7 22:34:43 2006 UTC (5 years, 11 months ago) by kardel
Branch: MAIN
CVS Tags: gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: yamt-lazymbuf, gdamore-uart
Changes since 1.8: +8 -6 lines
Diff to previous 1.8 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.4.6.4 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:43 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.4.6.3: +3 -3 lines
Diff to previous 1.4.6.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with head.

Revision 1.4.12.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:48 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.4.12.1: +3 -3 lines
Diff to previous 1.4.12.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

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

Revision 1.4.8.2 / (download) - annotate - [select for diffs], Wed May 24 10:59:25 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4.8.1: +3 -3 lines
Diff to previous 1.4.8.1 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Mon May 15 03:01:50 2006 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

we need <sys/kauth.h> for the kernel.

Revision 1.7 / (download) - annotate - [select for diffs], Mon May 15 00:45:57 2006 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored)

Don't include <sys/kauth.h>; breaks userland (newfs_lfs)

Revision 1.6 / (download) - annotate - [select for diffs], Sun May 14 21:32:45 2006 UTC (6 years ago) by elad
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

integrate kauth.

Revision 1.4.10.2 / (download) - annotate - [select for diffs], Sat May 6 23:32:58 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.4.10.1: +3 -3 lines
Diff to previous 1.4.10.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (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.4.6.3 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:25 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.4.6.2: +2 -2 lines
Diff to previous 1.4.6.2 (colored) to branchpoint 1.4 (colored)

Sync with head.

Revision 1.4.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:54:10 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:56 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.4.12.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:30 2006 UTC (6 years, 2 months ago) by tron
Branch: peter-altq
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 19 03:58:34 2006 UTC (6 years, 2 months ago) by rtr
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, elad-kernelauth-base
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

don't bother checking of ts == NULL before assigning since we know that
it is.
solves coverity 2725 / run 6

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Sun Feb 5 11:42:39 2006 UTC (6 years, 3 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.4.6.1: +8 -8 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored)

In the *itimes functions, just call getnanotime() at the start of
the function and use the result if needed, rather than the previous
conditional calls/assignments method.  The code is clearer this way,
and benchmarks at about the same speed.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Sat Feb 4 14:12:50 2006 UTC (6 years, 3 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.4: +7 -5 lines
Diff to previous 1.4 (colored)

Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:26 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, 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.3: +2 -2 lines
Diff to previous 1.3 (colored)

merge ktrace-lwp.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:32 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.1: +119 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD. Here we go again...

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Wed Nov 2 11:58:29 2005 UTC (6 years, 6 months ago) by yamt
Branch: yamt-vop
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.3.2.1, Sun Oct 30 23:34:34 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3: +0 -119 lines
FILE REMOVED

file lfs_itimes.c was added on branch ktrace-lwp on 2005-11-10 14:12:32 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 30 23:34:34 2005 UTC (6 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Branch point for: ktrace-lwp
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored)

We don't need <sys/systm.h> here.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 13 04:40:42 2005 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

redefine panic if we are a user program.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 13 04:13:26 2005 UTC (6 years, 8 months ago) by christos
Branch: MAIN

split out lfs_itimes(). It is used in fsck_lfs.

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>