NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/54541: kernel panic using "zfs diff"
src/external/cddl/osnet/dist/lib/libzfs/common/libzfs_diff.c:
739 static int
740 setup_differ_info(zfs_handle_t *zhp, const char *fromsnap,
741 const char *tosnap, differ_info_t *di)
742 {
743 di->zhp = zhp;
744
745 di->cleanupfd = open(ZFS_DEV, O_RDWR|O_EXCL);
746 VERIFY(di->cleanupfd >= 0);
747
748 if (get_snapshot_names(di, fromsnap, tosnap) != 0)
749 return (-1);
750
751 if (get_mountpoints(di) != 0)
752 return (-1);
753
754 if (find_shares_object(di) != 0)
755 return (-1);
756
757 return (0);
758 }
so cleanupfd=133 should be OK?
Home |
Main Index |
Thread Index |
Old Index