svn commit: r208766 - stable/8/sys/netinet

2010-06-03 Thread Robert Watson
Author: rwatson Date: Thu Jun 3 08:55:45 2010 New Revision: 208766 URL: http://svn.freebsd.org/changeset/base/208766 Log: Merge r204810 from head to stable/8: Remove unnecessary locking of divcbinfo lock from div_output(): this has not been required since FreeBSD 7.0 when the so_pcb

svn commit: r208767 - stable/8/sys/netinet

2010-06-03 Thread Robert Watson
Author: rwatson Date: Thu Jun 3 09:02:53 2010 New Revision: 208767 URL: http://svn.freebsd.org/changeset/base/208767 Log: Merge r204826 from head to stable/8: Make udp_set_kernel_tunneling() less forgiving when its invariants are violated: so_pcb can never be NULL for a valid UDP

svn commit: r208768 - stable/8/sys/netinet

2010-06-03 Thread Robert Watson
Author: rwatson Date: Thu Jun 3 09:06:50 2010 New Revision: 208768 URL: http://svn.freebsd.org/changeset/base/208768 Log: Merge r204830 from head to stable/8 Locking the tcbinfo structure should not be necessary in tcp_timer_delack(), so don't. Reviewed by:bz

svn commit: r208769 - stable/8/sys/fs/nfsserver

2010-06-03 Thread Robert Watson
Author: rwatson Date: Thu Jun 3 09:15:52 2010 New Revision: 208769 URL: http://svn.freebsd.org/changeset/base/208769 Log: Merge r205010 from head to stable/8: Update nfsrv_getsocksndseq() for changes in TCP internals since FreeBSD 6.x: - so_pcb is now guaranteed to be non-NULL

svn commit: r208770 - head/sys/modules/zfs

2010-06-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 3 09:29:54 2010 New Revision: 208770 URL: http://svn.freebsd.org/changeset/base/208770 Log: opensolaris_kmem.c is already part of opensolaris.ko which zfs.ko depends on. Reported by: avg MFC after:3 days Modified: head/sys/modules/zfs/Makefile

svn commit: r208771 - head/share/man/man4

2010-06-03 Thread Attilio Rao
Author: attilio Date: Thu Jun 3 09:54:53 2010 New Revision: 208771 URL: http://svn.freebsd.org/changeset/base/208771 Log: [0] Improve wording. [1] Following style for manpages, just do carriage return after a sentence. Sponsored by: Sandvine Incorporated [0] Submitted

svn commit: r208772 - head/sys/vm

2010-06-03 Thread Konstantin Belousov
Author: kib Date: Thu Jun 3 10:11:45 2010 New Revision: 208772 URL: http://svn.freebsd.org/changeset/base/208772 Log: Add assertion and comment in vm_page_flag_set() describing the expectations when the PG_WRITEABLE flag is set. Reviewed by: alc Modified: head/sys/vm/vm_page.c

svn commit: r208773 - head/sys/kern

2010-06-03 Thread Konstantin Belousov
Author: kib Date: Thu Jun 3 10:20:08 2010 New Revision: 208773 URL: http://svn.freebsd.org/changeset/base/208773 Log: Sometimes vnodes share the lock despite being different vnodes on different mount points, e.g. the nullfs vnode and the covered vnode from the lower filesystem. In this

svn commit: r208774 - head/sys/ufs/ufs

2010-06-03 Thread Konstantin Belousov
Author: kib Date: Thu Jun 3 10:24:53 2010 New Revision: 208774 URL: http://svn.freebsd.org/changeset/base/208774 Log: Extend the scope of the lock on the quota file vnode in quotaon() to cover the initial read by dqopen(). Assert that vnode is locked in dqopen(). Remove VFS_LOCK_GIANT()

svn commit: r208775 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-06-03 Thread Martin Matuska
Author: mm Date: Thu Jun 3 11:08:46 2010 New Revision: 208775 URL: http://svn.freebsd.org/changeset/base/208775 Log: Fix freeing space after deleting large files with holes. OpenSolaris onnv revision:9950:78fc41aa9bc5 Approved by: pjd, delphij (mentor) Obtained from:

Re: svn commit: r208747 - head/sys/dev/fdt

2010-06-03 Thread Rafal Jaworowski
On 2010-06-02, at 20:58, Doug Barton wrote: On 06/02/10 10:17, Rafal Jaworowski wrote: o simplebus(4) - bus driver representing ePAPR Do we write on it with eINK? Hm, it's been eAPPROVED already (http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf), but maybe with

svn commit: r208776 - head/sys/dev/cas

2010-06-03 Thread Marius Strobl
Author: marius Date: Thu Jun 3 12:09:02 2010 New Revision: 208776 URL: http://svn.freebsd.org/changeset/base/208776 Log: Avoid possible NULL-dereferences. Found with: Coverity Prevent(tm) CID: 3428 MFC after:3 days Modified: head/sys/dev/cas/if_cas.c Modified:

Re: svn commit: r208589 - head/sys/mips/mips

2010-06-03 Thread C. Jayachandran
On Thu, Jun 3, 2010 at 10:20 AM, C. Jayachandran c.jayachand...@gmail.com wrote: On Thu, Jun 3, 2010 at 10:07 AM, Alan Cox a...@cs.rice.edu wrote: C. Jayachandran wrote: On Wed, Jun 2, 2010 at 11:57 AM, Alan Cox a...@cs.rice.edu wrote: C. Jayachandran wrote: On Wed, Jun 2, 2010 at 3:23

svn commit: r208777 - in head: sbin/geom/class/part sys/sys

2010-06-03 Thread Marius Strobl
Author: marius Date: Thu Jun 3 13:01:55 2010 New Revision: 208777 URL: http://svn.freebsd.org/changeset/base/208777 Log: - In gpart_bootfile_read() fix an off-by-one error preventing the bootstrap file to be of maximum size. - Add special handling required for SMI/VTOC8 disklabel

svn commit: r208778 - head/sbin/geom/class/part

2010-06-03 Thread Marius Strobl
Author: marius Date: Thu Jun 3 13:04:56 2010 New Revision: 208778 URL: http://svn.freebsd.org/changeset/base/208778 Log: - Mention that VTOC8 labels are found in Fujitsu SPARC64 machines as well. - Add information regarding VTOC8 bootrstrap code and how it's handled with r208777 in

Re: svn commit: r208766 - stable/8/sys/netinet

2010-06-03 Thread Ermal Luçi
On Thu, Jun 3, 2010 at 10:55 AM, Robert Watson rwat...@freebsd.org wrote: Author: rwatson Date: Thu Jun  3 08:55:45 2010 New Revision: 208766 URL: http://svn.freebsd.org/changeset/base/208766 Log:  Merge r204810 from head to stable/8:    Remove unnecessary locking of divcbinfo lock from

svn commit: r208779 - head/sys/kern

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 13:41:55 2010 New Revision: 208779 URL: http://svn.freebsd.org/changeset/base/208779 Log: The acl_cnt field is unsigned; no point in checking if it's = 0. Found with: Coverity Prevent CID: 3683 Modified: head/sys/kern/subr_acl_nfs4.c

svn commit: r208780 - head/sys/kern

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 13:43:58 2010 New Revision: 208780 URL: http://svn.freebsd.org/changeset/base/208780 Log: The 'acl_cnt' field is unsigned; no point in checking if it's = 0. Found with: Coverity Prevent CID: 3684 Modified: head/sys/kern/subr_acl_posix1e.c

svn commit: r208781 - head/sys/kern

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 13:45:27 2010 New Revision: 208781 URL: http://svn.freebsd.org/changeset/base/208781 Log: The 'acl_cnt' field is unsigned; no point in checking if it's = 0. Found with: Coverity Prevent CID: 3688 Modified: head/sys/kern/vfs_acl.c Modified:

svn commit: r208782 - head/lib/libc/posix1e

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 14:15:08 2010 New Revision: 208782 URL: http://svn.freebsd.org/changeset/base/208782 Log: The 'acl_cnt' field is unsigned; no point in checking if it's = 0. Found with: Coverity Prevent CID: 6193 Modified: head/lib/libc/posix1e/acl_entry.c

svn commit: r208783 - head/lib/libc/posix1e

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 14:16:58 2010 New Revision: 208783 URL: http://svn.freebsd.org/changeset/base/208783 Log: The 'acl_cnt' field is unsigned; no point in checking if it's = 0. Found with: Coverity Prevent CID: 6192 Modified: head/lib/libc/posix1e/acl_entry.c

svn commit: r208784 - head/lib/libc/posix1e

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 14:27:18 2010 New Revision: 208784 URL: http://svn.freebsd.org/changeset/base/208784 Log: Fix usage of uninitialized variable. Found with: Coverity Prevent CID: 7517 MFC after:2 weeks Modified: head/lib/libc/posix1e/acl_strip.c

svn commit: r208785 - head/lib/libc/posix1e

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 14:29:17 2010 New Revision: 208785 URL: http://svn.freebsd.org/changeset/base/208785 Log: _posix1e_acl_sort() never returns anything other than 0; change its return type to void and update callers. This simplifies code and fixes one place where the returned

Re: svn commit: r208771 - head/share/man/man4

2010-06-03 Thread Bjoern A. Zeeb
On Thu, 3 Jun 2010, Attilio Rao wrote: Author: attilio Date: Thu Jun 3 09:54:53 2010 New Revision: 208771 URL: http://svn.freebsd.org/changeset/base/208771 Log: [0] Improve wording. [1] Following style for manpages, just do carriage return after a sentence. Sponsored by:

svn commit: r208786 - head/lib/libc/posix1e

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 14:51:29 2010 New Revision: 208786 URL: http://svn.freebsd.org/changeset/base/208786 Log: Don't forget to free the string in error case. Found with: Coverity Prevent CID: 6585 Modified: head/lib/libc/posix1e/acl_to_text_nfs4.c Modified:

Re: svn commit: r208771 - head/share/man/man4

2010-06-03 Thread Attilio Rao
2010/6/3 Bjoern A. Zeeb b...@freebsd.org: On Thu, 3 Jun 2010, Attilio Rao wrote: Author: attilio Date: Thu Jun  3 09:54:53 2010 New Revision: 208771 URL: http://svn.freebsd.org/changeset/base/208771 Log:  [0] Improve wording.  [1] Following style for manpages, just do carriage return

svn commit: r208787 - head/sys/kern

2010-06-03 Thread John Baldwin
Author: jhb Date: Thu Jun 3 16:02:11 2010 New Revision: 208787 URL: http://svn.freebsd.org/changeset/base/208787 Log: Assert that the thread lock is held in sched_pctcpu() instead of recursively acquiring it. All of the current callers already hold the lock. MFC after:1 month

Re: svn commit: r208589 - head/sys/mips/mips

2010-06-03 Thread Alan Cox
C. Jayachandran wrote: On Thu, Jun 3, 2010 at 10:20 AM, C. Jayachandran c.jayachand...@gmail.com wrote: On Thu, Jun 3, 2010 at 10:07 AM, Alan Cox a...@cs.rice.edu wrote: C. Jayachandran wrote: On Wed, Jun 2, 2010 at 11:57 AM, Alan Cox a...@cs.rice.edu wrote: C.

svn commit: r208789 - in head/sys/boot: i386/boot0 i386/btx/btx i386/btx/btxldr i386/cdboot i386/mbr i386/pmbr pc98/boot0 pc98/boot0.5 pc98/btx/btx pc98/btx/btxldr pc98/cdboot sparc64/boot1

2010-06-03 Thread Ed Schouten
Author: ed Date: Thu Jun 3 17:42:32 2010 New Revision: 208789 URL: http://svn.freebsd.org/changeset/base/208789 Log: Use -Wl,-N instead of the undocumented -N option for GCC. GCC forwards the -N flag directly to ld. This flag is not documented and not supported by (for example) Clang.

Re: svn commit: r208789 - in head/sys/boot: i386/boot0 i386/btx/btx i386/btx/btxldr i386/cdboot i386/mbr i386/pmbr pc98/boot0 pc98/boot0.5 pc98/btx/btx pc98/btx/btxldr pc98/cdboot sparc64/boot1

2010-06-03 Thread Ed Schouten
* Ed Schouten e...@freebsd.org wrote: Author: ed Date: Thu Jun 3 17:42:32 2010 New Revision: 208789 URL: http://svn.freebsd.org/changeset/base/208789 Log: Use -Wl,-N instead of the undocumented -N option for GCC. GCC forwards the -N flag directly to ld. This flag is not

Re: svn commit: r208789 - in head/sys/boot: i386/boot0 i386/btx/btx i386/btx/btxldr i386/cdboot i386/mbr i386/pmbr pc98/boot0 pc98/boot0.5 pc98/btx/btx pc98/btx/btxldr pc98/cdboot sparc64/boot1

2010-06-03 Thread Kostik Belousov
On Thu, Jun 03, 2010 at 05:42:32PM +, Ed Schouten wrote: Author: ed Date: Thu Jun 3 17:42:32 2010 New Revision: 208789 URL: http://svn.freebsd.org/changeset/base/208789 Log: Use -Wl,-N instead of the undocumented -N option for GCC. GCC forwards the -N flag directly to ld.

svn commit: r208790 - svnadmin/conf

2010-06-03 Thread Konstantin Belousov
Author: kib Date: Thu Jun 3 17:55:42 2010 New Revision: 208790 URL: http://svn.freebsd.org/changeset/base/208790 Log: Welcome Andrey Elsukov as src committer. Alexander Motin is the mentor, I will help. Approved by: core Modified: svnadmin/conf/access svnadmin/conf/mentors

Re: svn commit: r208790 - svnadmin/conf

2010-06-03 Thread Joel Dahl
On 03-06-2010 17:55, Konstantin Belousov wrote: Author: kib Date: Thu Jun 3 17:55:42 2010 New Revision: 208790 URL: http://svn.freebsd.org/changeset/base/208790 Log: Welcome Andrey Elsukov as src committer. Alexander Motin is the mentor, I will help. This is great news! -- Joel

svn commit: r208791 - head/sys/vm

2010-06-03 Thread Konstantin Belousov
Author: kib Date: Thu Jun 3 18:34:34 2010 New Revision: 208791 URL: http://svn.freebsd.org/changeset/base/208791 Log: Do not leak vm page lock in vm_contig_launder(), vm_pageout_page_lock() always returns with the page locked. Submitted by: alc Pointy hat to:kib Modified:

svn commit: r208792 - head/usr.sbin/chown

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 20:46:23 2010 New Revision: 208792 URL: http://svn.freebsd.org/changeset/base/208792 Log: Make chown(1) emit more useful error message when user/group name is invalid. Modified: head/usr.sbin/chown/chown.c Modified: head/usr.sbin/chown/chown.c

svn commit: r208793 - in head: share/misc usr.bin/calendar/calendars

2010-06-03 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 3 21:12:51 2010 New Revision: 208793 URL: http://svn.freebsd.org/changeset/base/208793 Log: - Add myself to committers-src.dot - Add myself to calendar.freebsd Approved by: kib (mentor) Modified: head/share/misc/committers-src.dot