The NetBSD Project

CVS log for src/sys/fs/ntfs/ntfs_vnops.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.65.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:37 2021 UTC (22 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.65: +3 -2 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Sync with HEAD.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Jun 29 22:34:07 2021 UTC (23 months ago) by dholland
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.65: +3 -2 lines
Diff to previous 1.65 (colored)

- Add a new vnode op: VOP_PARSEPATH.
 - Move namei_getcomponent to genfs_vnops.c and call it genfs_parsepath.
 - Add a parsepath entry to every vnode ops table.

VOP_PARSEPATH takes a directory vnode to be searched and a complete
following path and chooses how much of that path to consume. To begin
with, all parsepath calls are genfs_parsepath, which locates the first
'/' as always.

Note that the call doesn't take the whole struct componentname, only
the string. The other bits of struct componentname should not be
needed and there's no reason to cause potential complications by
exposing them.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Jun 27 17:29:18 2020 UTC (2 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Introduce genfs_pathconf() and use it for the default case in all filesystems.

Revision 1.64 / (download) - annotate - [select for diffs], Sat May 16 18:31:49 2020 UTC (3 years ago) by christos
Branch: MAIN
Changes since 1.63: +12 -11 lines
Diff to previous 1.63 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.52.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:43 2017 UTC (5 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.52.2.3: +23 -23 lines
Diff to previous 1.52.2.3 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

update from HEAD

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:06 2017 UTC (5 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.59.2.1: +8 -12 lines
Diff to previous 1.59.2.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.63 / (download) - annotate - [select for diffs], Fri May 26 14:34:20 2017 UTC (6 years ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.62: +2 -7 lines
Diff to previous 1.62 (colored)

Eliminate crusty debugging sludge.

We have a mostly sane vnode lifecycle now.  If this needs debugging,
it should be done once at the call site of VOP_RECLAIM.

Revision 1.62 / (download) - annotate - [select for diffs], Fri May 26 14:21:00 2017 UTC (6 years ago) by riastradh
Branch: MAIN
Changes since 1.61: +5 -3 lines
Diff to previous 1.61 (colored)

Make VOP_RECLAIM do the last unlock of the vnode.

VOP_RECLAIM naturally has exclusive access to the vnode, so having it
locked on entry is not strictly necessary -- but it means if there
are any final operations that must be done on the vnode, such as
ffs_update, requiring exclusive access to it, we can now kassert that
the vnode is locked in those operations.

We can't just have the caller release the last lock because some file
systems don't use genfs_lock, and require the vnode to remain valid
for VOP_UNLOCK to work, notably unionfs.

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:25 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.59: +5 -6 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:01 2017 UTC (6 years, 1 month ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.60: +5 -6 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with HEAD

Revision 1.61 / (download) - annotate - [select for diffs], Tue Apr 11 14:24:59 2017 UTC (6 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.60: +5 -6 lines
Diff to previous 1.60 (colored)

Make VOP_INACTIVE preserve vnode lock on return.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Ride 7.99.68, a bumpy bus of incremental vfs improvements!

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:01 2016 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.59: +2 -4 lines
Diff to previous 1.59 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Sat Aug 20 12:37:07 2016 UTC (6 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.59: +2 -4 lines
Diff to previous 1.59 (colored)

Remove now obsolete operation vcache_remove().

Welcome to 7.99.36

Revision 1.59 / (download) - annotate - [select for diffs], Thu Nov 13 16:51:53 2014 UTC (8 years, 6 months ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.58: +19 -13 lines
Diff to previous 1.58 (colored)

Change ntfs to vcache.
- Use (inumber, attrtype, attrname) as key.
- Inline ntfs_fget() and ntfs_frele() as they only get called once.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Nov 13 16:49:56 2014 UTC (8 years, 6 months ago) by hannken
Branch: MAIN
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored)

- Fix ntfs_ntlookupattr() to make the examples from the man page work.
- Fix ntfs_loadntnode() to always read full cluster to prevent buffer
  cache inconsistency.
- Change ntfs_vgetex() and ntfs_fget() to take a const attrname and
  always pass a possibly empty string.
- Change printf to dprintf.
- Get rid of dead fields i_next, i_prev of struct ntnode.

Revision 1.52.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:27 2014 UTC (8 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.52.2.2: +6 -1 lines
Diff to previous 1.52.2.2 (colored) to branchpoint 1.52 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:54 2014 UTC (8 years, 9 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.56: +4 -2 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Rebase.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:52 2014 UTC (8 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, 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
Changes since 1.56: +4 -2 lines
Diff to previous 1.56 (colored)

Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can
find.

The filesystem ones all call genfs_eopnotsupp - right now I am only
implementing the plumbing and we can implement fallocate and/or
fdiscard for files later.

The device ones call spec_fallocate (which is also genfs_eopnotsupp)
and spec_fdiscard, which dispatches to the device-level op.

The fifo ones all call vn_fifo_bypass, which also ends up being
EOPNOTSUPP.

Revision 1.49.4.5 / (download) - annotate - [select for diffs], Thu May 22 11:41:01 2014 UTC (9 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.49.4.4: +7 -4 lines
Diff to previous 1.49.4.4 (colored) to branchpoint 1.49 (colored) next main 1.50 (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.55.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:06 2014 UTC (9 years ago) by rmind
Branch: rmind-smpnet
Changes since 1.55: +6 -3 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Fri Feb 7 15:29:21 2014 UTC (9 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.55: +6 -3 lines
Diff to previous 1.55 (colored)

Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:27 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.52.2.1: +3 -3 lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored)

resync from head

Revision 1.55 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:38 2013 UTC (10 years, 2 months ago) by plunky
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

C99 section 6.7.2.3 (Tags) Note 3 states that:

  A type specifier of the form

	enum identifier

  without an enumerator list shall only appear after the type it
  specifies is complete.

which means that we cannot pass an "enum vtype" argument to
kauth_access_action() without fully specifying the type first.
Unfortunately there is a complicated include file loop which
makes that difficult, so convert this minimal function into a
macro (and capitalize it).

(ok elad@)

Revision 1.49.4.4 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:40 2013 UTC (10 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.49.4.3: +8 -5 lines
Diff to previous 1.49.4.3 (colored) to branchpoint 1.49 (colored)

sync with (a bit old) head

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:40 2012 UTC (10 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.52: +8 -5 lines
Diff to previous 1.52 (colored)

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

Revision 1.54 / (download) - annotate - [select for diffs], Mon Nov 5 17:27:38 2012 UTC (10 years, 6 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7
Changes since 1.53: +6 -4 lines
Diff to previous 1.53 (colored)

Excise struct componentname from the namecache.

This uglifies the interface, because several operations need to be
passed the namei flags and cache_lookup also needs for the time being
to be passed cnp->cn_nameiop. Nonetheless, it's a net benefit.

The glop should be able to go away eventually but requires structural
cleanup elsewhere first.

This change requires a kernel bump.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Nov 5 17:24:10 2012 UTC (10 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.52: +5 -4 lines
Diff to previous 1.52 (colored)

Disentangle the namecache from the internals of namei.

 - Move the namecache's hash computation to inside the namecache code,
instead of being spread out all over the place. Remove cn_hash from
struct componentname and delete all uses of it.

 - It is no longer necessary (if it ever was) for cache_lookup and
cache_lookup_raw to clear MAKEENTRY from cnp->cn_flags for the cases
that cache_enter already checks for.

 - Rearrange the interface of cache_lookup (and cache_lookup_raw) to
make it somewhat simpler, to exclude certain nonexistent error
conditions, and (most importantly) to make it not require write access
to cnp->cn_flags.

This change requires a kernel bump.

Revision 1.49.4.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:24 2012 UTC (10 years, 7 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.49.4.2: +4 -5 lines
Diff to previous 1.49.4.2 (colored) to branchpoint 1.49 (colored)

sync with head

Revision 1.49.10.2 / (download) - annotate - [select for diffs], Sun Aug 12 12:59:50 2012 UTC (10 years, 9 months ago) by martin
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-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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.49.10.1: +4 -5 lines
Diff to previous 1.49.10.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Pull up following revision(s) (requested by manu in ticket #484):
	sys/fs/nilfs/nilfs_vnops.c: revision 1.18
	sys/ufs/ufs/ufs_lookup.c: revision 1.117
	sys/nfs/nfs_vnops.c: revision 1.295
	sys/ufs/chfs/chfs_vnops.c: revision 1.8
	sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.70
	sys/fs/unionfs/unionfs_vnops.c: revision 1.6
	sys/kern/vfs_cache.c: revision 1.89
	sys/fs/efs/efs_vnops.c: revision 1.26
	sys/fs/hfs/hfs_vnops.c: revision 1.26
	sys/fs/adosfs/adlookup.c: revision 1.16
	sys/fs/puffs/puffs_vnops.c: revision 1.168
	sys/fs/tmpfs/tmpfs_vnops.c: revision 1.98
	sys/fs/ntfs/ntfs_vnops.c: revision 1.52
	sys/fs/cd9660/cd9660_lookup.c: revision 1.20
	sys/fs/msdosfs/msdosfs_lookup.c: revision 1.24
	sys/fs/smbfs/smbfs_vnops.c: revision 1.80
	sys/fs/udf/udf_vnops.c: revision 1.72
	sys/fs/filecorefs/filecore_lookup.c: revision 1.14
	sys/fs/puffs/puffs_node.c: revision 1.25
Move some the test for MAKEENTRY into the cache_enter(9).  Make some
variables in vfs_cache.c static, __read_mostly, etc.
No objection on tech-kern@.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Jul 22 00:53:19 2012 UTC (10 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.51: +4 -5 lines
Diff to previous 1.51 (colored)

Move some the test for MAKEENTRY into the cache_enter(9).  Make some
variables in vfs_cache.c static, __read_mostly, etc.

No objection on tech-kern@.

Revision 1.49.8.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:31 2012 UTC (11 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.49.8.1: +1 -3 lines
Diff to previous 1.49.8.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

sync to latest -current.

Revision 1.49.4.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:09 2012 UTC (11 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.49.4.1: +3 -5 lines
Diff to previous 1.49.4.1 (colored) to branchpoint 1.49 (colored)

sync with head.

Revision 1.49.10.1 / (download) - annotate - [select for diffs], Mon May 7 03:01:13 2012 UTC (11 years ago) by riz
Branch: netbsd-6
Changes since 1.49: +3 -5 lines
Diff to previous 1.49 (colored)

Pull up following revision(s) (requested by chs in ticket #204):
	sys/fs/sysvbfs/sysvbfs_vnops.c: revision 1.44
	sys/ufs/ffs/ffs_vfsops.c: revision 1.277
	sys/fs/v7fs/v7fs_vnops.c: revision 1.11
	sys/ufs/chfs/chfs_vnops.c: revision 1.7
	sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.61
	sys/miscfs/genfs/genfs_io.c: revision 1.54
	sys/kern/vfs_wapbl.c: revision 1.52
	sys/uvm/uvm_pager.h: revision 1.43
	sys/ufs/ffs/ffs_vnops.c: revision 1.121
	sys/kern/vfs_subr.c: revision 1.434
	sys/fs/msdosfs/msdosfs_vnops.c: revision 1.83
	sys/fs/ntfs/ntfs_vnops.c: revision 1.51
	sys/fs/udf/udf_subr.c: revision 1.119
	sys/miscfs/specfs/spec_vnops.c: revision 1.135
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.103
	sys/fs/udf/udf_vnops.c: revision 1.71
	sys/ufs/ufs/ufs_readwrite.c: revision 1.104
change vflushbuf() to take the full FSYNC_* flags.
translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that
genfs_do_io() can set the appropriate io priority for the I/O.
this is the first part of addressing PR 46325.
mark all wapbl I/O as BPRIO_TIMECRITICAL.
this is the second part of addressing PR 46325.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Apr 29 22:53:59 2012 UTC (11 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.50: +3 -5 lines
Diff to previous 1.50 (colored)

change vflushbuf() to take the full FSYNC_* flags.
translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that
genfs_do_io() can set the appropriate io priority for the I/O.
this is the first part of addressing PR 46325.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:19 2012 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.49: +5 -4 lines
Diff to previous 1.49 (colored)

sync with head

Revision 1.49.8.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:37 2012 UTC (11 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.49: +5 -4 lines
Diff to previous 1.49 (colored)

sync to latest -current.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:49 2012 UTC (11 years, 2 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Changes since 1.49: +5 -4 lines
Diff to previous 1.49 (colored)

Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:23 2011 UTC (12 years ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.47: +3 -7 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.46.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:59 2011 UTC (12 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.46.4.1: +3 -7 lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Thu May 19 03:11:57 2011 UTC (12 years ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, jmcneill-usbmp-pre-base2, 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
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.48: +2 -4 lines
Diff to previous 1.48 (colored)

Remove cache_purge(9) calls from reclamation routines in the file systems,
as vclean(9) performs it for us since Lite2 merge.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Apr 26 11:32:38 2011 UTC (12 years, 1 month ago) by hannken
Branch: MAIN
Changes since 1.47: +3 -5 lines
Diff to previous 1.47 (colored)

Change vflushbuf() to return an error if a synchronous write fails.

Welcome to 5.99.51.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:18 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

Revision 1.40.10.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:34 2010 UTC (12 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40.10.4: +4 -4 lines
Diff to previous 1.40.10.4 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:50 2010 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:10 2010 UTC (12 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.40.10.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:13 2010 UTC (13 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40.10.3: +3 -3 lines
Diff to previous 1.40.10.3 (colored) to branchpoint 1.40 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jan 8 11:35:08 2010 UTC (13 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live
years ago when the kernel was modified to not alter ABI based on
DIAGNOSTIC, and now just call the respective function interfaces
(in lowercase).  Plenty of mix'n match upper/lowercase has creeped
into the tree since then.  Nuke the macros and convert all callsites
to lowercase.

no functional change

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:32 2009 UTC (13 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.42.2.1: +38 -16 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.40.10.3 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:21 2009 UTC (13 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40.10.2: +38 -16 lines
Diff to previous 1.40.10.2 (colored) to branchpoint 1.40 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jul 3 21:17:41 2009 UTC (13 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.44: +38 -16 lines
Diff to previous 1.44 (colored)

Where possible, extract the file-system's access() routine to two internal
functions: the first checking if the operation is possible (regardless of
permissions), the second checking file-system permissions, ACLs, etc.

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005311.html

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jun 23 19:36:40 2009 UTC (13 years, 11 months ago) by elad
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

Move the implementation of vaccess() to genfs_can_access(), in line with
the other routines of the same spirit.

Adjust file-system code to use it.

Keep vaccess() for KPI compatibility and to keep element of least
surprise. A "diagnostic" message warning that vaccess() is deprecated will
be printed when it's used (obviously, only in DIAGNOSTIC kernels).

No objections on tech-kern@:

	http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:50 2009 UTC (14 years ago) by jym
Branch: jym-xensuspend
Changes since 1.42: +6 -46 lines
Diff to previous 1.42 (colored)

Sync with HEAD.

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

Revision 1.40.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:43 2009 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40.10.1: +8 -48 lines
Diff to previous 1.40.10.1 (colored) to branchpoint 1.40 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Apr 29 22:33:33 2009 UTC (14 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, jym-xensuspend-base
Changes since 1.42: +6 -46 lines
Diff to previous 1.42 (colored)

Replace open-coded vaccess() in ntfs_access() with a call to vaccess().

Similarly to msdosfs, always add the exec bit to keep the current
behavior.

Mailing list reference:

    http://mail-index.netbsd.org/tech-kern/2009/04/21/msg004881.html

Revision 1.41.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:33 2009 UTC (14 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with HEAD.

Revision 1.40.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:17 2009 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40.6.1: +2 -2 lines
Diff to previous 1.40.6.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:35 2008 UTC (14 years, 5 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

kill MALLOC and FREE macros.

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:05 2008 UTC (15 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.40.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:02 2008 UTC (15 years ago) by yamt
Branch: yamt-pf42
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

sync with head.

Revision 1.40.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:18 2008 UTC (15 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Apr 30 14:07:14 2008 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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, 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
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

Make various bits of debug code compile again.

Revision 1.35.6.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:56 2008 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.35.6.1: +3 -108 lines
Diff to previous 1.35.6.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync with HEAD

Revision 1.35.12.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:39 2008 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.35.12.1: +3 -108 lines
Diff to previous 1.35.12.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.21.4.7 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:48 2008 UTC (15 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.4.6: +2 -104 lines
Diff to previous 1.21.4.6 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jan 30 09:50:20 2008 UTC (15 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, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored)

Replace struct lock on vnodes with a simpler lock object built on
krwlock_t. This is a step towards removing lockmgr and simplifying
vnode locking. Discussed on tech-kern.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jan 29 18:21:10 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.38: +2 -102 lines
Diff to previous 1.38 (colored)

Nuke #ifdef __OtherOS__ clutter to make maintaining slightly easier.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:13 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.37: +2 -3 lines
Diff to previous 1.37 (colored)

Remove VOP_LEASE. Discussed on tech-kern.

Revision 1.21.4.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:45:48 2008 UTC (15 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.4.5: +3 -6 lines
Diff to previous 1.21.4.5 (colored) to branchpoint 1.21 (colored)

sync with head

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:17 2008 UTC (15 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.36: +3 -6 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jan 17 10:39:14 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.36: +3 -6 lines
Diff to previous 1.36 (colored)

Fix dodgy tests of v_usecount.

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:45 2008 UTC (15 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.35: +3 -8 lines
Diff to previous 1.35 (colored)

sync with HEAD

Revision 1.35.12.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:16 2007 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.35: +3 -8 lines
Diff to previous 1.35 (colored)

Sync with HEAD.

Revision 1.21.4.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:32:00 2007 UTC (15 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.4.4: +3 -8 lines
Diff to previous 1.21.4.4 (colored) to branchpoint 1.21 (colored)

sync with head

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:45 2007 UTC (15 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.35: +3 -8 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:48 2007 UTC (15 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-merge1
Branch point for: bouyer-xeni386
Changes since 1.35: +3 -8 lines
Diff to previous 1.35 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:16 2007 UTC (15 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.2: +5 -7 lines
Diff to previous 1.33.2.2 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with head.

Revision 1.21.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:28 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.4.3: +6 -11 lines
Diff to previous 1.21.4.3 (colored) to branchpoint 1.21 (colored)

sync with head.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:51 2007 UTC (15 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.1: +4 -3 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored)

- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.33.10.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:58 2007 UTC (15 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.33: +2 -8 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.35.14.2 / (download) - annotate - [select for diffs], Sun Jul 29 13:31:10 2007 UTC (15 years, 10 months ago) by ad
Branch: matt-mips64
Changes since 1.35.14.1: +982 -0 lines
Diff to previous 1.35.14.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.35.14.1, Sun Jul 29 13:31:09 2007 UTC (15 years, 10 months ago) by ad
Branch: matt-mips64
Changes since 1.35: +0 -982 lines
FILE REMOVED

file ntfs_vnops.c was added on branch matt-mips64 on 2007-07-29 13:31:10 +0000

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 29 13:31:09 2007 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-mips64-base, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.34: +2 -5 lines
Diff to previous 1.34 (colored)

It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jul 26 18:15:42 2007 UTC (15 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.33: +2 -5 lines
Diff to previous 1.33 (colored)

Don't do nfs server consistency checks in readdir, especially since
the check depended on the nfs server implementation.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sun May 13 17:36:32 2007 UTC (16 years ago) by ad
Branch: vmlocking
Changes since 1.33: +5 -10 lines
Diff to previous 1.33 (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.31.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:12 2007 UTC (16 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.31.2.1: +6 -5 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:01 2007 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: vmlocking, nick-csl-alignment
Changes since 1.32: +6 -5 lines
Diff to previous 1.32 (colored)

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

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:12 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.21.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:56 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.4.2: +3 -2 lines
Diff to previous 1.21.4.2 (colored) to branchpoint 1.21 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Feb 20 16:21:04 2007 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

Call genfs_node_destroy() where appropriate.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:44 2007 UTC (16 years, 3 months ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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.30: +9 -27 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Apply patch (requested by chs in ticket #422):
- Fix various deadlock problems with nullfs and unionfs.
- Speed up path lookups by upto 25%.

Revision 1.29.8.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:05 2007 UTC (16 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.29.8.1: +9 -27 lines
Diff to previous 1.29.8.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with head.

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:56 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.4.1: +71 -91 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored)

sync with head.

Revision 1.29.10.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:38 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.29.10.1: +9 -27 lines
Diff to previous 1.29.10.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:51 2006 UTC (16 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.30: +9 -27 lines
Diff to previous 1.30 (colored)

a smorgasbord of improvements to vnode locking and path lookup:
 - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP().
   these now always return the parent vnode locked.  namei() works as before.
   lookup() and various other paths no longer acquire vnode locks in the
   wrong order via vrele().  fixes PR 32535.
   as a nice side effect, path lookup is also up to 25% faster.
 - the above allows us to get rid of PDIRUNLOCK.
 - also get rid of WANTPARENT (just use LOCKPARENT and unlock it).
 - remove an assumption in layer_node_find() that all file systems implement
   a recursive VOP_LOCK() (unionfs doesn't).
 - require that all file systems supply vfs_vptofh and vfs_fhtovp routines.
   fill in eopnotsupp() for file systems that don't support being exported
   and remove the checks for NULL.  (layerfs calls these without checking.)
 - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just
   adjust which vnode is locked.  fixes PR 33374.
 - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:20 2006 UTC (16 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.29: +64 -66 lines
Diff to previous 1.29 (colored)

Sync with head.

Revision 1.29.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:09 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.29: +64 -66 lines
Diff to previous 1.29 (colored)

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:13 2006 UTC (16 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.29: +64 -66 lines
Diff to previous 1.29 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:05 2006 UTC (16 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.27: +28 -22 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:30 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21: +101 -83 lines
Diff to previous 1.21 (colored)

sync with head.

Revision 1.27.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:37:52 2006 UTC (17 years ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.27.6.1: +22 -17 lines
Diff to previous 1.27.6.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with head.

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:34 2006 UTC (17 years ago) by tron
Branch: peter-altq
Changes since 1.28: +22 -17 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

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

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:36 2006 UTC (17 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.28: +22 -17 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (17 years 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, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.28: +22 -17 lines
Diff to previous 1.28 (colored)

integrate kauth.

Revision 1.28.4.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:29 2006 UTC (17 years, 1 month ago) by christos
Branch: elad-kernelauth
Changes since 1.28.4.2: +3 -2 lines
Diff to previous 1.28.4.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (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.27.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:57 2006 UTC (17 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.27: +8 -7 lines
Diff to previous 1.27 (colored)

Sync with head.

Revision 1.28.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:23:39 2006 UTC (17 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.28.4.1: +3 -3 lines
Diff to previous 1.28.4.1 (colored) to branchpoint 1.28 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:31:33 2006 UTC (17 years, 3 months ago) by elad
Branch: elad-kernelauth
Changes since 1.28: +21 -17 lines
Diff to previous 1.28 (colored)

Adapt to kernel authorization KPI.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:21 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.27: +8 -7 lines
Diff to previous 1.27 (colored)

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 11:44:29 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.27.2.1: +1 -1 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

fix a typo.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 09:47:03 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.27: +8 -7 lines
Diff to previous 1.27 (colored)

adapt the rest of MI code.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:29 2005 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.26: +8 -8 lines
Diff to previous 1.26 (colored)

merge ktrace-lwp.

Revision 1.12.2.10 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:27 2005 UTC (17 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.9: +73 -61 lines
Diff to previous 1.12.2.9 (colored) next main 1.13 (colored)

Sync with HEAD. Here we go again...

Revision 1.26 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:58 2005 UTC (17 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.25: +17 -14 lines
Diff to previous 1.25 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Wed Oct 26 08:32:51 2005 UTC (17 years, 7 months ago) by yamt
Branch: yamt-vop
Changes since 1.24.2.1: +32 -24 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head

Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 23 04:28:53 2005 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, thorpej-vnode-attr-base, thorpej-vnode-attr
Changes since 1.24: +32 -24 lines
Diff to previous 1.24 (colored)

make debugging code compile after 64 bit inode changes.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 06:03:46 2005 UTC (17 years, 7 months ago) by yamt
Branch: yamt-vop
Changes since 1.24: +17 -14 lines
Diff to previous 1.24 (colored)

adapt ntfs.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Aug 30 19:01:30 2005 UTC (17 years, 9 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop
Changes since 1.23: +20 -20 lines
Diff to previous 1.23 (colored)

Remove __P()

Revision 1.23 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:03 2005 UTC (17 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.22: +5 -4 lines
Diff to previous 1.22 (colored)

64 bit inode changes.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 25 00:48:22 2005 UTC (17 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.21: +11 -11 lines
Diff to previous 1.21 (colored)

PR/30823: Dave Huang: Panic reading files larger than 4GB on NTFS

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:22 2005 UTC (18 years, 1 month ago) by kent
Branch: kent-audio2
Changes since 1.19: +13 -13 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with -current

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:10 2005 UTC (18 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.19: +13 -13 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

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

Revision 1.12.2.9 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:46 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.8: +7 -7 lines
Diff to previous 1.12.2.8 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.21 / (download) - annotate - [select for diffs], Sat Feb 26 22:58:55 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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-1-1-RELEASE, netbsd-3-1, 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, netbsd-3, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.20: +7 -7 lines
Diff to previous 1.20 (colored)

nuke trailing whitespace

Revision 1.12.2.8 / (download) - annotate - [select for diffs], Tue Feb 15 21:33:29 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.7: +9 -9 lines
Diff to previous 1.12.2.7 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Feb 13 11:57:47 2005 UTC (18 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.19: +9 -9 lines
Diff to previous 1.19 (colored)

use MIN()/MAX() rather than min()/max(), to avoid possible truncation
of 64bit values to 'int'

Revision 1.12.2.7 / (download) - annotate - [select for diffs], Wed Oct 27 06:48:23 2004 UTC (18 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.6: +7 -7 lines
Diff to previous 1.12.2.6 (colored)

Fix various comments that describe the argument structures

Revision 1.12.2.6 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:01 2004 UTC (18 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.5: +3 -3 lines
Diff to previous 1.12.2.5 (colored)

Fix the sync with head I botched.

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Sat Sep 18 14:52:50 2004 UTC (18 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.4: +4 -4 lines
Diff to previous 1.12.2.4 (colored)

Sync with HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Sep 13 19:25:48 2004 UTC (18 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

set mp->mnt_stat.f_namemax on filesystem mount for use by statvfs, and use
the value for also pathconf(_PC_NAME_MAX) to keep the two in sync

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:37 2004 UTC (18 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.3: +3 -4 lines
Diff to previous 1.12.2.3 (colored)

Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Thu Aug 12 11:42:19 2004 UTC (18 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.2: +2 -8 lines
Diff to previous 1.12.2.2 (colored)

Sync with HEAD.

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

Sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 29 11:08:55 2004 UTC (19 years, 3 months ago) by jdolecek
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.17: +5 -5 lines
Diff to previous 1.17 (colored)

use global prtactive setting instead of ntfs-specific variable;
this also changes default, to not print the active vnodes

Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 22 10:26:14 2004 UTC (19 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

make VOP_UPDATE() trivially succeed (without doing anything), instead
of returning error

this makes it possible to mount other filesystems on directory on NTFS
filesystem

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 26 10:39:30 2004 UTC (19 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

Fix xxx_strategy() to use the vnode arg instead of bp->b_vp.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Oct 6 16:47:10 2003 UTC (19 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

change accidentaly left debug printf to dprintf()

Revision 1.14 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:39 2003 UTC (19 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.13: +3 -7 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Sat Aug 2 12:11:57 2003 UTC (19 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.12: +2 -15 lines
Diff to previous 1.12 (colored)

remove all traces of non-working quota support
add quota support to TODO - makes sense only once writing support
would be implemented, and only once NTFS would support notion of file 'owner'

adresses kern/21967 by Martin Husemann

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:32 2003 UTC (19 years, 11 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.12: +5 -4 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:12 2003 UTC (19 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:25 2003 UTC (19 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored)

Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:50 2003 UTC (19 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.9: +5 -4 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Mon Jun 23 15:24:07 2003 UTC (19 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored)

#ifdef _KERNEL_OPT police

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 23 11:53:47 2003 UTC (19 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

Disable QUOTA for ntfs - it's broken.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 23 11:02:03 2003 UTC (19 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 10 21:57:26 2003 UTC (20 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.5: +7 -95 lines
Diff to previous 1.5 (colored)

back to genfs_eopnotsupp() for vop_remove, vop_link, vop_rename,
vop_mkdir, vop_rmdir - it does the right unlocking now

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 9 18:46:47 2003 UTC (20 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.4: +19 -19 lines
Diff to previous 1.4 (colored)

move ntfs_remove() to be together with the other dummies - easier to c&p
eventually

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 9 18:41:05 2003 UTC (20 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.3: +78 -8 lines
Diff to previous 1.3 (colored)

add dummy link, rename, mkdir, rmdir vnode ops, which release the
appropriate vnodes before failing with EOPNOTSUPP - this is necessary
to not deadlock later

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 9 16:12:18 2003 UTC (20 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.2: +19 -10 lines
Diff to previous 1.2 (colored)

print some potentially useful stuff in ntfs_print()
replace the VOP__UNLOCK() macros with VOP_UNLOCK() directly - it just
  obfuscates the code
similarily for VN_LOCK()->vn_lock()
unlock dvp before ntvattrget call in ntfs_lookup() in '..' case, not after
fix problem in ntfs_lookup() where PDIRUNLOCK was not set in one code path
  after unlocking parent directory vnode

Revision 1.2 / (download) - annotate - [select for diffs], Wed Apr 9 16:02:18 2003 UTC (20 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.1: +21 -3 lines
Diff to previous 1.1 (colored)

add real ntfs remove vnode op, which releases vnode locks on parent directory
and the file vnode before returning EOPNOTSUPP
fixes PR kern/19595 by Erik Berls

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Dec 29 19:56:19 2002 UTC (20 years, 5 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.1: +989 -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, Mon Dec 23 17:38:34 2002 UTC (20 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.1: +0 -989 lines
FILE REMOVED

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

Revision 1.1 / (download) - annotate - [select for diffs], Mon Dec 23 17:38:34 2002 UTC (20 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: nathanw_sa

move NTFS code from sys/ntfs to sys/fs/ntfs

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>