Project

General

Profile

Bug #1356 » zfs_ioctl.c.patch

Martin Matuška, 2011-08-18 01:04 PM

View differences:

usr/src/uts/common/fs/zfs/zfs_ioctl.c Fri Jul 22 09:27:57 2011 -0700 → usr/src/uts/common/fs/zfs/zfs_ioctl.c Thu Aug 18 15:01:46 2011 +0200
1943 1943
		uint64_t cookie = 0;
1944 1944
		int len = sizeof (zc->zc_name) - (p - zc->zc_name);
1945 1945

  
1946
		while (dmu_dir_list_next(os, len, p, NULL, &cookie) == 0)
1947
			(void) dmu_objset_prefetch(p, NULL);
1946
		while (dmu_dir_list_next(os, len, p, NULL, &cookie) == 0) {
1947
			if (!dataset_name_hidden(zc->zc_name))
1948
				(void) dmu_objset_prefetch(zc->zc_name, NULL);
1949
		}
1948 1950
	}
1949 1951

  
1950 1952
	do {
(3-3/3)