From owner-cvs-src@FreeBSD.ORG Mon Aug 20 15:33:23 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 581D116A417; Mon, 20 Aug 2007 15:33:23 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 488E113C494; Mon, 20 Aug 2007 15:33:23 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7KFXN9H095585; Mon, 20 Aug 2007 15:33:23 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7KFXNn1095584; Mon, 20 Aug 2007 15:33:23 GMT (envelope-from cognet) Message-Id: <200708201533.l7KFXNn1095584@repoman.freebsd.org> From: Olivier Houchard Date: Mon, 20 Aug 2007 15:33:23 +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/gnu/fs/xfs/FreeBSD xfs_mountops.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: Mon, 20 Aug 2007 15:33:23 -0000 cognet 2007-08-20 15:33:23 UTC FreeBSD src repository Modified files: sys/gnu/fs/xfs/FreeBSD xfs_mountops.c Log: Some times ago, vfs_getopts() was changed, so that it would set error to ENOENT if the option wasn't provided, instead of setting it to 0. xfs however didn't catch up on this, so it assumed something went bad if vfs_getopts() sets the error to non-zero, and just returns the error. Unbreak xfs mount by just ignoring the error if vfs_getopts() sets the error to ENOENT, as we should have sane defaults. Reviewed by: kan Approved by: re (rwatson) Tested by: rpaulo Revision Changes Path 1.10 +6 -6 src/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c