Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zfs_unmount_snap() should return 0 if the snapshot it's passed is not a
snapshot. Detect this indirectly by testing zsb as set by zfs_sb_hold(). This will normally happen in the case of deleting a zvol's snapshot.
- Loading branch information