mirror_zfs/tests/test-runner/include
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
..
logapi.shlib Skip snapshot in zfs_iter_mounted() 2021-10-20 16:07:19 -07:00
Makefile.am Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00
stf.shlib Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00