freebsd-dev/sys
Konstantin Belousov 51a9b978e7 nfs server: improve use of the VFS KPI
In particular, do not assume that vn_start_write() returns the same mp
as it was passed in, or never returns error.

Also be more accurate to return NULL vp and mp when error occured, to
catch wrong control flow easier.

Stop checking for NULL mp before calling vn_finished_write(), NULL mp
is handled transparently by the function.

Reviewed by:	rmacklem
Tested by:	pho
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D27881
2021-01-02 20:17:12 +02:00
..
amd64 amd64 nmi handler: fix comment about %ebx 2020-12-27 12:59:33 +02:00
arm arm: tune vmparam.h towards a little more modern 2020-12-31 11:13:13 -06:00
arm64 arm64: Use new arm_kernel_boothdr script for generating booti images. 2020-12-30 13:56:11 +01:00
bsm Expose eventfd in the native API/ABI using a new __specialfd syscall 2020-12-27 12:57:26 +02:00
cam ada(4): remove remainder of MD geometry translation support 2020-12-25 20:20:54 +01:00
cddl Check that the frame pointer is within the current stack. 2020-12-08 18:00:58 +00:00
compat Regen. 2020-12-27 12:57:27 +02:00
conf Stop defaulting to DWRAF2 in kernel compilation 2020-12-31 15:56:18 -05:00
contrib Improve error message printing in krping. 2020-12-28 14:37:09 +01:00
crypto Revert r366943. It did not work as expected. 2020-12-11 00:42:53 +00:00
ddb ddb: Display process flags (p_flag and p_flag2) in 'show proc'. 2020-12-31 16:01:52 -08:00
dev vt: restore tty when console is ungrabbed 2020-12-31 11:10:11 -06:00
dts Brand our DTS with the Linux version it was imported from 2020-10-10 07:18:51 +00:00
fs nfs server: improve use of the VFS KPI 2021-01-02 20:17:12 +02:00
gdb gdb(4): allow bulk write of registers 2020-12-23 14:37:05 -04:00
geom geom(4): make g_newprovider_event() return if G_P_WITHER is set 2020-12-29 14:29:59 +00:00
gnu ARM64: Port FreeBSD to Nvidia Jetson TX1 and Nano. 2020-12-28 14:12:41 +01:00
i386 gdb(4) fix x86 signal reporting 2020-12-23 15:40:14 -04:00
isa
kern jail: revert the attachment part of b4e87a6329 2020-12-31 19:55:49 -08:00
kgssapi State kgssapi dependency on xdr. 2020-09-17 22:29:38 +00:00
libkern arc4random(9): Integrate with RANDOM_FENESTRASX push-reseed 2020-10-10 21:48:06 +00:00
mips mips: fix build w/ TICK_USE_MALTA_RTC defined 2020-12-25 19:47:45 +01:00
modules [POWERPC64LE] enable IPMI using OPAL bus 2020-12-30 22:55:53 -03:00
net Streamline the infiniband code according to the ethernet code. 2020-12-31 10:07:02 +01:00
net80211 net80211: fix a typo 2020-11-04 12:07:33 +00:00
netgraph Use light-weight versions of routing lookup functions in ng_netflow. 2020-12-26 11:27:38 +00:00
netinet sctp: improve handling of aborted associations 2021-01-01 15:59:10 +01:00
netinet6 Add modular fib lookup framework. 2020-12-25 11:33:17 +00:00
netipsec Trigger soft lifetime expiration on sequence number 2020-10-16 11:27:01 +00:00
netpfil pf: Use counter(9) for pf_state byte/packet tracking 2020-12-23 12:03:21 +01:00
netsmb net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
nfs nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsclient nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed Fix for referencing file via its vnode in ibore. 2020-11-02 10:44:29 +00:00
opencrypto Remove the cloned file descriptors for /dev/crypto. 2020-11-25 00:10:54 +00:00
powerpc powerpc: Fix copyin/copyout race condition 2020-12-30 23:45:44 +01:00
riscv Skip the vm.pmap.kernel_maps sysctl by default. 2020-12-18 20:41:23 +00:00
rpc Add a new "tlscertname" NFS mount option. 2020-12-23 13:42:55 -08:00
security audit: rework AUDIT_SYSCLOSE 2020-12-17 18:52:04 +00:00
sys fd: inline pwd_get_smr 2021-01-01 00:10:42 +00:00
teken Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
tests Add small tool to invoke kernel test framework tests. 2020-09-02 09:20:40 +00:00
tools sys/tools: Add a tool for generating arm and arm64 kernel images. 2020-12-30 13:22:04 +01:00
ufs ufs: use VNPASS when asserting on a vnode in ufs_read_pgcache 2021-01-01 03:14:11 +00:00
vm uma dbg: catch more corruption with atomics 2020-12-31 13:02:45 -08:00
x86 x86: stop punishing VMs with low priority for TSC timecounter 2020-12-23 12:45:15 +02:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: allow limiting the amount of duplicated pending xenstore watches 2020-12-30 11:18:26 +01:00
Makefile