mirror_zfs/cmd/zfs
Artem 27f3d94940
Sort the blocking snapshots list #12751 (#17264)
When multiple snapshots prevent the destruction/rollback of the
respective dataset/snapshot/volume via zfs destroy or zfs rollback,
the error message does not list the blocking snapshots sorted
according to their order of creation. This causes inconvenience and can
lead to confusion, and also creates a contrast with a returned message
from zfs list -t snap function.

Closes: #12751

Signed-off-by: Artem-OSSRevival <artem.vlasenko@ossrevival.org>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
2025-05-01 17:40:23 -07:00
..
Makefile.am autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zfs_iter.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_iter.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_main.c Sort the blocking snapshots list #12751 (#17264) 2025-05-01 17:40:23 -07:00
zfs_project.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_projectutil.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_util.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00