Patch for 'zfs send -R' core dump (pr bin/130105)
rdivacky at freebsd.org
Thu Feb 19 10:14:20 PST 2009
btw.... I track the opensolaris hg at work and there's a quite a few commits
to zfs (almost) every week. fixing coredumps and other problems.
maybe we can track the opensolaris a little closer?
On Thu, Feb 19, 2009 at 10:02:41AM -0800, George Hartzell wrote:
> The following patch to
> seems to keep 'zfs send -R' from dumping core. I've only been able to
> test sending the stream to /dev/null or a file, I'm still setting up a
> pool to do the receiving.
> This is based on a bit of gdb debugging and a thread from zfs-fuse:
> --- zfs_prop.c 2009/02/17 18:58:58 1.1
> +++ zfs_prop.c 2009/02/19 09:54:04
> @@ -297,7 +297,7 @@
> /* hidden properties */
> register_hidden(ZFS_PROP_CREATETXG, "createtxg", PROP_TYPE_NUMBER,
> - PROP_READONLY, ZFS_TYPE_DATASET, NULL);
> + PROP_READONLY, ZFS_TYPE_DATASET, "CREATETXG");
> register_hidden(ZFS_PROP_NUMCLONES, "numclones", PROP_TYPE_NUMBER,
> PROP_READONLY, ZFS_TYPE_SNAPSHOT, NULL);
> register_hidden(ZFS_PROP_NAME, "name", PROP_TYPE_STRING,
> freebsd-current at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current