svn commit: r351623 - head/sbin/fsck_msdosfs

2019-08-29 Thread Xin LI
Author: delphij Date: Fri Aug 30 06:06:12 2019 New Revision: 351623 URL: https://svnweb.freebsd.org/changeset/base/351623 Log: Remove unneeded blank line. No functional change. MFC after:2 weeks Modified: head/sbin/fsck_msdosfs/fat.c Modified: head/sbin/fsck_msdosfs/fat.c =

Re: svn commit: r351319 - in head/usr.sbin/makefs: ffs msdos

2019-08-29 Thread Bruce Evans
On Wed, 21 Aug 2019, Ed Maste wrote: Author: emaste Date: Wed Aug 21 01:45:29 2019 New Revision: 351319 URL: https://svnweb.freebsd.org/changeset/base/351319 Log: makefs: use `char *` not `void *` for buf b_data, drop casts in msdos (The kernel uses caddr_t.) This is much better than churn

svn commit: r351622 - head/sys/kern

2019-08-29 Thread Mateusz Guzik
Author: mjg Date: Fri Aug 30 00:45:53 2019 New Revision: 351622 URL: https://svnweb.freebsd.org/changeset/base/351622 Log: vfs: tidy up assertions in vfs_subr - assert unlocked vnode interlock in vref - assert right counts in vputx - print debug info for panic in vdrop Sponsored by

svn commit: r351621 - head/sys/dev/xdma

2019-08-29 Thread Ed Maste
Author: emaste Date: Fri Aug 30 00:40:08 2019 New Revision: 351621 URL: https://svnweb.freebsd.org/changeset/base/351621 Log: xdma: avoid NULL deref in error case Reported by: Dr Silvio Cesare of InfoSect MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/sys/d

svn commit: r351620 - head/sys/dev/qlxgbe

2019-08-29 Thread Ed Maste
Author: emaste Date: Fri Aug 30 00:38:16 2019 New Revision: 351620 URL: https://svnweb.freebsd.org/changeset/base/351620 Log: qlxgbe: avoid NULL deref in error case Reported by: Dr Silvio Cesare of InfoSect MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/sys

svn commit: r351619 - head/sys/arm/samsung/exynos

2019-08-29 Thread Ed Maste
Author: emaste Date: Fri Aug 30 00:36:17 2019 New Revision: 351619 URL: https://svnweb.freebsd.org/changeset/base/351619 Log: exynos5: avoid NULL deref in error case Reported by: Dr Silvio Cesare of InfoSect MFC after:3 days MFC with: r351618 Sponsored by: The FreeBSD Foundat

svn commit: r351618 - head/sys/arm/samsung/exynos

2019-08-29 Thread Ed Maste
Author: emaste Date: Fri Aug 30 00:34:27 2019 New Revision: 351618 URL: https://svnweb.freebsd.org/changeset/base/351618 Log: exynos5: avoid NULL deref in error case Reported by: Dr Silvio Cesare of InfoSect MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/sy

svn commit: r351617 - head/sys/fs/nullfs

2019-08-29 Thread Mateusz Guzik
Author: mjg Date: Fri Aug 30 00:30:03 2019 New Revision: 351617 URL: https://svnweb.freebsd.org/changeset/base/351617 Log: nullfs: use VOP_NEED_INACTIVE Reviewed by: kib Tested by:pho (previous version) Sponsored by: The FreeBSD Foundation Modified: head/sys/fs/nullfs/null_vnops

svn commit: r351616 - head/sys/dev/usb/net

2019-08-29 Thread Gleb Smirnoff
Author: glebius Date: Fri Aug 30 00:05:04 2019 New Revision: 351616 URL: https://svnweb.freebsd.org/changeset/base/351616 Log: Use mbuf queue instead of ifqueue in USB network drivers. Reviewed by: stevek Modified: head/sys/dev/usb/net/if_axe.c head/sys/dev/usb/net/if_axge.c head/sy

svn commit: r351615 - head/sys/sys

2019-08-29 Thread Gleb Smirnoff
Author: glebius Date: Fri Aug 30 00:03:41 2019 New Revision: 351615 URL: https://svnweb.freebsd.org/changeset/base/351615 Log: Allow mbuf queues to be unlimited. There is number of legacy code that uses ifqueue without setting a limit on it first. Easier to allow for that rather than impr

svn commit: r351614 - head/usr.bin/indent

2019-08-29 Thread Jason Helfman
Author: jgh (doc,ports committer) Date: Thu Aug 29 23:23:12 2019 New Revision: 351614 URL: https://svnweb.freebsd.org/changeset/base/351614 Log: - address missing whitespace for indent PR: 239727 Submitted by: gbergl...@gmail.com Reviewed by: 0mp@ MFC after:1 week Modi

svn commit: r351613 - head/sys/fs/fuse

2019-08-29 Thread Mark Johnston
Author: markj Date: Thu Aug 29 22:13:15 2019 New Revision: 351613 URL: https://svnweb.freebsd.org/changeset/base/351613 Log: Remove unused VM page locking macros. They were orphaned by r292373. Reviewed by: asomers MFC after:1 week Sponsored by: Netflix Differential Revision

svn commit: r351609 - head/sys/amd64/vmm/io

2019-08-29 Thread John Baldwin
Author: jhb Date: Thu Aug 29 18:23:38 2019 New Revision: 351609 URL: https://svnweb.freebsd.org/changeset/base/351609 Log: Simplify bhyve vlapic ESR logic. The bhyve virtual local APIC uses an instance-global flag to indicate when an error LVT is being delivered to prevent infinite recurs

svn commit: r351608 - head

2019-08-29 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Thu Aug 29 17:25:50 2019 New Revision: 351608 URL: https://svnweb.freebsd.org/changeset/base/351608 Log: Use relative paths in ObsoleteFiles.inc Approved by: imp Differential Revision:https://reviews.freebsd.org/D21467 Modified: head

svn commit: r351607 - head

2019-08-29 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Thu Aug 29 17:17:39 2019 New Revision: 351607 URL: https://svnweb.freebsd.org/changeset/base/351607 Log: pwm.9 symlink shouldn't be removed When the pwm.9 manual was removed, a symlink between pwmbus.9 and pwm.9 was created, but there's an entry

svn commit: r351606 - in head/sys/cam: ata mmc nvme scsi

2019-08-29 Thread Alexander Motin
Author: mav Date: Thu Aug 29 17:02:02 2019 New Revision: 351606 URL: https://svnweb.freebsd.org/changeset/base/351606 Log: Take proper lock in ses_setphyspath_callback(). XPT_DEV_ADVINFO call should be protected by the lock of the specific device it is addressed to, not the lock of SES de

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

2019-08-29 Thread Alexander Motin
Author: mav Date: Thu Aug 29 13:46:54 2019 New Revision: 351605 URL: https://svnweb.freebsd.org/changeset/base/351605 Log: Man page for AMD Non-Transparent Bridge (ntb_hw_amd) driver. Submitted by: Rajesh Kumar Reviewed by: bcr MFC after:3 days Differential Revision:http

svn commit: r351604 - head/sys/dev/ichsmb

2019-08-29 Thread Yuri Pankov
Author: yuripv Date: Thu Aug 29 12:49:21 2019 New Revision: 351604 URL: https://svnweb.freebsd.org/changeset/base/351604 Log: ichsmb: defer smbus attach until interrupts are available This fixes a "timed sleep before timers are working" panic seen while attaching jedec_dimm(4) instances t

svn commit: r351603 - head/sys/dev/vnic

2019-08-29 Thread Ed Maste
Author: emaste Date: Thu Aug 29 12:05:06 2019 New Revision: 351603 URL: https://svnweb.freebsd.org/changeset/base/351603 Log: vnic: avoid NULL deref in error case Reported by: Dr Silvio Cesare of InfoSect MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/sys/d

svn commit: r351601 - head/sys/cam/scsi

2019-08-29 Thread Andriy Gapon
Author: avg Date: Thu Aug 29 08:26:40 2019 New Revision: 351601 URL: https://svnweb.freebsd.org/changeset/base/351601 Log: scsi_cd: whitespace cleanup Remove trailing whitespace and fix mixed indentation. MFC after:3 weeks Modified: head/sys/cam/scsi/scsi_cd.c Modified: head/sy

svn commit: r351600 - head/sys/cam/scsi

2019-08-29 Thread Andriy Gapon
Author: avg Date: Thu Aug 29 08:19:11 2019 New Revision: 351600 URL: https://svnweb.freebsd.org/changeset/base/351600 Log: scsi_cd: ifdef out cdsize() It was used only by the old cdcheckmedia(). MFC after:3 weeks Modified: head/sys/cam/scsi/scsi_cd.c Modified: head/sys/cam/scsi

svn commit: r351599 - head/sys/cam/scsi

2019-08-29 Thread Andriy Gapon
Author: avg Date: Thu Aug 29 07:51:11 2019 New Revision: 351599 URL: https://svnweb.freebsd.org/changeset/base/351599 Log: scsi_cd: make the media check asynchronous This makes the media check process asynchronous, so we no longer block in cdstrategy() to check for media. PR:

svn commit: r351598 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs fs/cd9660 fs/devfs fs/ext2fs fs/fuse fs/msdosfs fs/nfsclient fs/smbfs fs/tmpfs fs/udf kern ufs/ufs vm

2019-08-29 Thread Konstantin Belousov
Author: kib Date: Thu Aug 29 07:50:25 2019 New Revision: 351598 URL: https://svnweb.freebsd.org/changeset/base/351598 Log: Rework v_object lifecycle for vnodes. Current implementation of vnode_create_vobject() and vnode_destroy_vobject() is written so that it prepared to handle the vm o

svn commit: r351597 - head/sys/ufs/ffs

2019-08-29 Thread Konstantin Belousov
Author: kib Date: Thu Aug 29 07:45:23 2019 New Revision: 351597 URL: https://svnweb.freebsd.org/changeset/base/351597 Log: UFS: stop reusing the vnode for reallocated inode. In ffs_valloc(), force reclaim existing vnode on inode reuse, instead of trying to re-initialize the same vnode for

svn commit: r351596 - in head: sys/sys tests/sys/sys

2019-08-29 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Aug 29 07:39:31 2019 New Revision: 351596 URL: https://svnweb.freebsd.org/changeset/base/351596 Log: Fix qmath(3) build problems with GCC 8. Discussed with: asomers Sponsored by: Klara Systems Differential Revision:https://reviews.freebsd.org/D21442

svn commit: r351595 - head/sys/i386/i386

2019-08-29 Thread Konstantin Belousov
Author: kib Date: Thu Aug 29 07:34:14 2019 New Revision: 351595 URL: https://svnweb.freebsd.org/changeset/base/351595 Log: Remove useless redefinition of NSFBUFS in i386/vm_machdep.c. Sponsored by: The FreeBSD Foundation Modified: head/sys/i386/i386/vm_machdep.c Modified: head/sys/i386/

svn commit: r351594 - in head/sys: amd64/amd64 amd64/include arm/arm arm/include arm64/arm64 arm64/include i386/i386 i386/include mips/include powerpc/include powerpc/powerpc riscv/include riscv/ri...

2019-08-29 Thread Konstantin Belousov
Author: kib Date: Thu Aug 29 07:25:27 2019 New Revision: 351594 URL: https://svnweb.freebsd.org/changeset/base/351594 Log: Centralize __pcpu definitions. Many extern struct pcpu __pcpu declarations were copied/pasted in sources. The issue is that the definition is MD, but it cannot be

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

2019-08-29 Thread Andriy Gapon
Author: avg Date: Thu Aug 29 07:19:06 2019 New Revision: 351593 URL: https://svnweb.freebsd.org/changeset/base/351593 Log: zfs_ioc_snapshot: check user-prop permissions on snapshotted datasets Previously, the permissions were checked on the pool which was obviously incorrect. After t