1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/cddl
Alexander Motin d044b69950 Fix dataset name comparison in zfs_compare().
The code never returned match comparing two datasets (not snapshots).
As result, uu_avl_find(), called from zfs_callback(), never succeeded,
allowing to add same dataset into the list multiple times, for example:

	# zfs get name pers pers pers@z pers@z
	NAME    PROPERTY  VALUE   SOURCE
	pers    name      pers    -
	pers    name      pers    -
	pers@z  name      pers@z  -

With the patch:

	# zfs get name pers pers pers@z pers@z
	NAME    PROPERTY  VALUE   SOURCE
	pers    name      pers    -
	pers@z  name      pers@z  -

MFC after:	1 week
Sponsored by:	iXsystems, Inc.
2019-05-08 01:35:43 +00:00
..
compat/opensolaris
contrib/opensolaris Fix dataset name comparison in zfs_compare(). 2019-05-08 01:35:43 +00:00
lib Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
sbin
tests
usr.bin
usr.sbin Drop -g from CFLAGS for zfsd(8). No idea why it was ever there. 2019-04-16 12:25:15 +00:00
Makefile
Makefile.inc