Files
mirror_zfs/lib/libzfs
youzhongyang ec64fdb93d Skip snapshot in zfs_iter_mounted()
The intention of the zfs_iter_mounted() is to traverse the dataset
and its descendants, not the snapshots. The current code can cause
a mounted snapshot to be included and thus zfs_open() on the snapshot
with ZFS_TYPE_FILESYSTEM would print confusing message such as "cannot
open 'rpool/fs@snap': snapshot delimiter '@' is not expected here".

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Youzhong Yang <yyang@mathworks.com>
Closes #12447
Closes #12448
2021-10-20 16:07:19 -07:00
..
2020-07-10 14:26:00 -07:00
2021-07-15 12:31:00 -06:00
2021-09-14 10:17:54 -06:00
2021-09-14 10:17:54 -06:00
2020-11-17 09:18:52 -08:00
2019-09-02 17:53:27 -07:00