Missed FreeBSD-specific piece of r305338.

This commit is contained in:
mav 2016-09-03 11:17:33 +00:00
parent b54e25cf10
commit 25849e5c65

View File

@ -1435,7 +1435,7 @@ zap_cursor_move_to_key(zap_cursor_t *zc, const char *name, matchtype_t mt)
if (zc->zc_zap == NULL) {
err = zap_lockdir(zc->zc_objset, zc->zc_zapobj, NULL,
RW_READER, TRUE, FALSE, &zc->zc_zap);
RW_READER, TRUE, FALSE, FTAG, &zc->zc_zap);
if (err)
return (err);
} else {