From owner-cvs-src-old@FreeBSD.ORG Fri Sep 10 23:19:08 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59EE6106578D for ; Fri, 10 Sep 2010 23:19:08 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 487608FC1E for ; Fri, 10 Sep 2010 23:19:08 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o8ANJ8C0055314 for ; Fri, 10 Sep 2010 23:19:08 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o8ANJ88H055313 for cvs-src-old@freebsd.org; Fri, 10 Sep 2010 23:19:08 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201009102319.o8ANJ88H055313@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Fri, 10 Sep 2010 23:18:45 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/nfs nfsdport.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 23:19:08 -0000 rmacklem 2010-09-10 23:18:45 UTC FreeBSD src repository Modified files: sys/fs/nfs nfsdport.h Log: SVN rev 212439 on 2010-09-10 23:18:45Z by rmacklem Fix the NFSVNO_CMPFH() macro in the experimental NFS server so that it works correctly for ZFS file handles. It is possible to have two ZFS file handles that differ only in the bytes in the fid_reserved field of the generic "struct fid" and comparing the bytes in fid_data didn't catch this case. This patch changes the macro to compare all bytes of "struct fid". Tested by: gull at gull.us MFC after: 2 weeks Revision Changes Path 1.3 +1 -2 src/sys/fs/nfs/nfsdport.h