freebsd-dev/sys
Rick Macklem 6ad8a6eaa4 Change nfs_advlock() so that the NFSVOPUNLOCK() is mostly done at the end.
Prior to this patch, nfs_advlock() did NFSVOPUNLOCK(); return (error);
in many places. This patch replaces these code sequenences with a "goto out;"
and does the NFSVOPUNLOCK(); return (error); at the end of the function
in order to make the vnode locking simpler.
This patch does not change the semantics of nfs_advlock().

Suggested by:	kib
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D17853
2018-11-06 22:50:50 +00:00
..
amd64 Add the KUBSAN options to the arm64 and amd64 GENERIC kernel config files. 2018-11-06 17:47:58 +00:00
arm Add a KPI for the delay while spinning on a spin lock. 2018-11-05 21:34:17 +00:00
arm64 Add the KUBSAN options to the arm64 and amd64 GENERIC kernel config files. 2018-11-06 17:47:58 +00:00
bsm
cam Only assert locked for many async events. 2018-11-05 18:47:29 +00:00
cddl 9952 Block size change during zfs receive drops spill block 2018-11-03 03:10:06 +00:00
compat Regen after r340199: Use declared types for caddr_t arguments. 2018-11-06 18:47:29 +00:00
conf Port the NetBSD ubsan runtime to the FreeBSD kernel. 2018-11-06 17:32:07 +00:00
contrib MFV: r339981 2018-11-02 22:50:13 +00:00
crypto rijndael (AES): Avoid leaking sensitive data on kernel stack 2018-10-26 20:53:01 +00:00
ddb ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
dev Treat the memory lengths for CHELSIO_T4_GET_MEM as unsigned. 2018-11-06 22:33:36 +00:00
dts Revert r339421 due to unintended files included to commit. 2018-10-18 15:17:58 +00:00
fs Change nfs_advlock() so that the NFSVOPUNLOCK() is mostly done at the end. 2018-11-06 22:50:50 +00:00
gdb
geom Don't allow BIO_READ, BIO_WRITE or BIO_DELETE requests that are 2018-11-06 15:55:41 +00:00
gnu dts: Import DTS for arm64 2018-08-23 13:21:01 +00:00
i386 Add a custom implementation of cpu_lock_delay() for x86. 2018-11-05 22:54:03 +00:00
isa Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
kern Avoid specifying VM_PROT_EXECUTE in mappings from pipe_map and exec_map. 2018-11-06 21:57:03 +00:00
kgssapi
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Add a KPI for the delay while spinning on a spin lock. 2018-11-05 21:34:17 +00:00
modules Retire CLANG_NO_IAS34 2018-11-01 23:11:47 +00:00
net pfsync: Handle syncdev going away 2018-11-02 16:57:23 +00:00
net80211
netgraph Make ng_pptpgre(8) netgraph node be able to restore order for packets 2018-11-04 19:10:44 +00:00
netinet Don't use a function when neither INET nor INET6 are defined. 2018-11-06 12:55:03 +00:00
netinet6 Remove redundant checks for a NULL lbgroup table. 2018-11-01 15:52:49 +00:00
netipsec Add sadb_x_sa2 extension to SADB_ACQUIRE requests. 2018-10-21 14:19:16 +00:00
netpfil pf: Fix build if INVARIANTS is not set 2018-11-02 19:23:50 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Introduce and use sgid_index in CM requests in ibcore. 2018-09-09 07:20:15 +00:00
opencrypto Add sha224 to the authctx union. 2018-10-23 18:07:37 +00:00
powerpc Add a KPI for the delay while spinning on a spin lock. 2018-11-05 21:34:17 +00:00
riscv Add a KPI for the delay while spinning on a spin lock. 2018-11-05 21:34:17 +00:00
rpc
security Add const to input-only char * arguments. 2018-11-02 20:50:22 +00:00
sparc64 Add a KPI for the delay while spinning on a spin lock. 2018-11-05 21:34:17 +00:00
sys Regen after r340199: Use declared types for caddr_t arguments. 2018-11-06 18:47:29 +00:00
teken Implement ECMA-48 "REP", some Linuxen have started emitting them recently. 2018-10-21 08:29:36 +00:00
tests
tools embed_mfs.sh: replace some compound statements with conventional ifs 2018-11-02 21:07:06 +00:00
ufs Make vop_symlink take a const target path. 2018-11-02 14:42:36 +00:00
vm Avoid specifying VM_PROT_EXECUTE in mappings from pipe_map and exec_map. 2018-11-06 21:57:03 +00:00
x86 Add a custom implementation of cpu_lock_delay() for x86. 2018-11-05 22:54:03 +00:00
xdr
xen xen: legacy PVH fixes for the new interrupt count 2018-09-13 07:14:11 +00:00
Makefile