From owner-cvs-src@FreeBSD.ORG Sun Apr 22 21:18:40 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A329A16A403; Sun, 22 Apr 2007 21:18:40 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7C80D13C459; Sun, 22 Apr 2007 21:18:40 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3MLIeNE031999; Sun, 22 Apr 2007 21:18:40 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3MLIee6031998; Sun, 22 Apr 2007 21:18:40 GMT (envelope-from pjd) Message-Id: <200704222118.l3MLIee6031998@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Sun, 22 Apr 2007 21:18:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2007 21:18:40 -0000 pjd 2007-04-22 21:18:40 UTC FreeBSD src repository Modified files: sys/contrib/opensolaris/uts/common/fs/zfs zap.c Log: Fix 'zpool status -v'. To get object number we should use ZFS_DIRENT_OBJ() macro, as za_first_integer field also contains type. This should be fixed in ZFS itself, but this bug is not visible on Solaris, because there, type is not stored in za_first_integer. On the other hand it will be visible on MacOS X. Reported by: Barry Pederson Revision Changes Path 1.3 +2 -1 src/sys/contrib/opensolaris/uts/common/fs/zfs/zap.c