freebsd-dev/sys
John Baldwin 697a86b6bf Adjust ZFS' link count handling for ino64.
- Define a ZFS_LINK_MAX as the ZFS version of LINK_MAX which is set to
  UINT64_MAX to match the on-disk format.
- Enable the currently #if 0'd code to check for link overflows and
  return EMLINK.
- Don't clamp the link count reported in stat() to LINK_MAX as that is
  still the 16-bit limit, but report the full link counts.  Also,
  avoid possibly overflowing the reported link count to 0 when adjusting
  the link count to account for ".snapshot".
- Update the LINK_MAX reported by pathconf() to report ZFS_LINK_MAX
  rather than LINK_MAX (but clamped to LONG_MAX for 32-bit systems).

Reviewed by:	avg (earlier version)
Sponsored by:	Chelsio Communications
2017-12-19 19:07:24 +00:00
..
amd64 Add atomic_load(9) and atomic_store(9) operations. 2017-12-19 09:59:20 +00:00
arm Add atomic_load(9) and atomic_store(9) operations. 2017-12-19 09:59:20 +00:00
arm64 Add atomic_load(9) and atomic_store(9) operations. 2017-12-19 09:59:20 +00:00
bsm sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
cam When doing a dump, the scheduler is normally not running, so this 2017-12-19 04:13:22 +00:00
cddl Adjust ZFS' link count handling for ino64. 2017-12-19 19:07:24 +00:00
compat Update Matthew Macy contact info 2017-12-19 17:59:00 +00:00
conf Make __startkernel line up with KERNBASE, so that the math to compute the 2017-12-19 15:50:46 +00:00
contrib MFC: r326864 2017-12-14 23:21:31 +00:00
crypto sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ddb ddb: fix validation of cpu id in 'set db_cpu=x' 2017-12-05 14:22:08 +00:00
dev Add byte swapping in bnxt_cfg_async_cr() request 2017-12-19 18:12:18 +00:00
dts dts: arm: Remove imx6 related dts 2017-12-04 13:28:56 +00:00
fs Add a custom VOP_PATHCONF method for fdescfs. 2017-12-19 18:20:38 +00:00
gdb sys/gdb: further adoption of SPDX licensing ID tags. 2017-11-27 15:16:59 +00:00
geom Avoid using bioq_* in gmirror. 2017-12-19 17:13:04 +00:00
gnu Introduce bwn(4) support for the bhnd(4) bus. 2017-12-02 02:21:27 +00:00
i386 Add atomic_load(9) and atomic_store(9) operations. 2017-12-19 09:59:20 +00:00
isa sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
kern Add a custom VOP_PATHCONF method for fdescfs. 2017-12-19 18:20:38 +00:00
kgssapi sys/kgssapi: general adoption of SPDX licensing ID tags. 2017-11-27 15:49:00 +00:00
libkern sys/kern: adoption of SPDX licensing ID tags. 2017-11-27 15:20:12 +00:00
mips Add atomic_load(9) and atomic_store(9) operations. 2017-12-19 09:59:20 +00:00
modules dtb/allwinner: Restore a83t/BananaPi-M3 DTS after r342822 2017-12-05 22:05:10 +00:00
net Update Matthew Macy contact info 2017-12-19 17:59:00 +00:00
net80211 [net80211] add a method for checking if a VAP WME AC has a NOACK policy or not. 2017-12-09 23:16:02 +00:00
netgraph sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
netinet Fix mbuf leak when TCPMD5_OUTPUT() method returns error. 2017-12-14 12:54:20 +00:00
netinet6 Follow the RFC6980 and silently ignore following IPv6 NDP messages 2017-12-15 12:37:32 +00:00
netipsec Do better cleaning in key_destroy() for VIMAGE case. 2017-12-01 09:59:42 +00:00
netpfil SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
netsmb sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nfs sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nfsclient sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nfsserver sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nlm sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ofed sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
opencrypto We don't need both _STAND and _STANDALONE. There's more places that 2017-12-02 00:07:09 +00:00
powerpc The highest-order bit of the bootloader cookie is 1, with the result that 2017-12-19 16:45:40 +00:00
riscv Add atomic_load(9) and atomic_store(9) operations. 2017-12-19 09:59:20 +00:00
rpc sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
security sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
sparc64 Add atomic_load(9) and atomic_store(9) operations. 2017-12-19 09:59:20 +00:00
sys Add a custom VOP_PATHCONF method for fdescfs. 2017-12-19 18:20:38 +00:00
teken sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
tests
tools sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
ufs Provide a sysctl to force synchronous initialization of inode blocks. 2017-12-09 15:44:30 +00:00
vm Perform all accesses to uma_reclaim_needed using atomic(9) KPI. 2017-12-19 10:06:55 +00:00
x86 Remove the permanent double mapping of low physical memory and replace 2017-12-18 13:53:22 +00:00
xdr sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
xen sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
Makefile Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00