This restores nextboot -k on ZFS setups where /boot is on the root
dataset of a pool.
Fixes: 0c3ade2cf13d nextboot: fix nextboot -k on ZFS
Sponsored by: Chelsio Communications
Differential D45306 Authored by jhb on May 22 2024, 10:21 PM.
Details Summary This restores nextboot -k on ZFS setups where /boot is on the root Fixes: 0c3ade2cf13d nextboot: fix nextboot -k on ZFS
Diff Detail
Event TimelineHerald added a subscriber: imp. · View Herald TranscriptMay 22 2024, 10:21 PM2024-05-22 22:21:43 (UTC+0) Herald added a subscriber: cy. · View Herald TranscriptMay 22 2024, 10:21 PM2024-05-22 22:21:43 (UTC+0) Harbormaster completed remote builds in B57852: Diff 138944.May 22 2024, 10:21 PM2024-05-22 22:21:46 (UTC+0) This revision is now accepted and ready to land.May 23 2024, 4:15 AM2024-05-23 04:15:32 (UTC+0) Closed by commit rGff7de3b4d32b: nextboot: Permit ZFS boot filesystems mounted at the pool's root (authored by jhb). · Explain WhyMay 30 2024, 12:46 PM2024-05-30 12:46:31 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 139224 sbin/reboot/reboot.c
|
This is unneeded, and may overflow dname. OF_getprop already includes the null terminator.