From owner-svn-src-all@FreeBSD.ORG Tue Jun 9 04:09:32 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02AE4106564A; Tue, 9 Jun 2009 04:09:32 +0000 (UTC) (envelope-from bland@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E55778FC17; Tue, 9 Jun 2009 04:09:31 +0000 (UTC) (envelope-from bland@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5949Vav055091; Tue, 9 Jun 2009 04:09:31 GMT (envelope-from bland@svn.freebsd.org) Received: (from bland@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5949Vp9055090; Tue, 9 Jun 2009 04:09:31 GMT (envelope-from bland@svn.freebsd.org) Message-Id: <200906090409.n5949Vp9055090@svn.freebsd.org> From: Alexander Nedotsukov Date: Tue, 9 Jun 2009 04:09:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193802 - head/usr.bin/fstat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 04:09:32 -0000 Author: bland (ports committer) Date: Tue Jun 9 04:09:31 2009 New Revision: 193802 URL: http://svn.freebsd.org/changeset/base/193802 Log: Fix bug in zphys offset calculation I introduced while retyping original patch. Modified: head/usr.bin/fstat/zfs.c Modified: head/usr.bin/fstat/zfs.c ============================================================================== --- head/usr.bin/fstat/zfs.c Tue Jun 9 04:03:04 2009 (r193801) +++ head/usr.bin/fstat/zfs.c Tue Jun 9 04:09:31 2009 (r193802) @@ -58,7 +58,7 @@ * definition. */ #define LOCATION_ZID (2 * sizeof(void *)) -#define LOCATION_ZPHYS(zsize) ((zsize) - (2 * sizeof(void *) - sizeof(struct task))) +#define LOCATION_ZPHYS(zsize) ((zsize) - (2 * sizeof(void *) + sizeof(struct task))) int zfs_filestat(struct vnode *vp, struct filestat *fsp)