The NetBSD Project

CVS log for src/sys/fs/ptyfs/ptyfs_vnops.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-7-nhusb-base-20170116


Revision 1.47.2.1 / (download) - annotate - [select for diffs], Sun Aug 17 03:34:02 2014 UTC (9 years, 7 months ago) by riz
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.47: +27 -32 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Pull up following revision(s) (requested by hannken in ticket #29):
	sbin/mount_ptyfs/mount_ptyfs.8: revision 1.14
	sys/fs/ptyfs/ptyfs_vnops.c: revision 1.48
	sys/fs/ptyfs/ptyfs_vnops.c: revision 1.49
	sys/fs/ptyfs/ptyfs_subr.c: revision 1.30
	sys/fs/ptyfs/ptyfs_subr.c: revision 1.31
	sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.51
	sys/fs/ptyfs/ptyfs_subr.c: revision 1.32
	sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.52
	sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.53
	sys/fs/ptyfs/ptyfs.h: revision 1.13
	sys/fs/ptyfs/ptyfs.h: revision 1.14
Needs HASH_SLIST, not HASH_LIST.
Change ptyfs to vcache.
- Use (type, minor) as key.
- Change ptyfs_allocvp to return a referenced vnode and lock where needed.
- Remove unneeded vnode backpointer ptyfs_vnode.
- Keep a single hashlist for pty nodes to make their attributes persistent.
OK: Christos Zoulas
Overflow if *data_len == OSIZE and args->version >= PTYFS_ARGSVERSION.
Sent on tech-kern@, ok christos@
Adapt to reality -- already open BSD style nodes do not appear on
ptyfs mounts (this changed some months ago).
- Add a map of active controlling ptys per mount and no longer abuse
  the vnode lifecycle.
- No longer set "recycle" on VOP_INACTIVE().
- Make ptyfs_used_get() private to ptyfs_subr.c
- Stop copying device attributes from traditional ptys on first allocation.
- Remove unneeded argument "lwp" from ptyfs_allocvp() and ptyfs_free_get().
OK: Christos Zoulas

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>