Fix #5101: exports with sharenfs remain after zfs mount -a

When running `zfs mount -a`, prevent the exported datasets (with sharenfs)
to be truncated (unexported).
Adds tests to verify shares persist after mount -a

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
This commit is contained in:
Stefan Lendl
2024-01-29 12:16:15 +01:00
committed by Thomas Lamprecht
parent 81d11761c3
commit 5f4f0445f4
2 changed files with 132 additions and 0 deletions
+1
View File
@@ -9,3 +9,4 @@
0009-arc-stat-summary-guard-access-to-l2arc-MFU-MRU-stats.patch
0010-Fix-nfs_truncate_shares-without-etc-exports.d.patch
0011-zpool-status-tighten-bounds-for-noalloc-stat-availab.patch
0012-fix-mount-do-not-truncate-shares-not-zfs-mount.patch