1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +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 Do not blindly include illumos kernel headers instead of user-space. 2018-08-02 18:55:55 +00:00
tests
usr.bin Make dnode definition uniform on !x86 2018-08-21 03:45:09 +00:00
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