From owner-cvs-src@FreeBSD.ORG Sun Aug 14 04:19:37 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BA9716A420; Sun, 14 Aug 2005 04:19:37 +0000 (GMT) (envelope-from grehan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D224A43D48; Sun, 14 Aug 2005 04:19:36 +0000 (GMT) (envelope-from grehan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7E4Ja9r004509; Sun, 14 Aug 2005 04:19:36 GMT (envelope-from grehan@repoman.freebsd.org) Received: (from grehan@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7E4Ja2X004508; Sun, 14 Aug 2005 04:19:36 GMT (envelope-from grehan) Message-Id: <200508140419.j7E4Ja2X004508@repoman.freebsd.org> From: Peter Grehan Date: Sun, 14 Aug 2005 04:19:36 +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/isofs/cd9660 cd9660_vfsops.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, 14 Aug 2005 04:19:37 -0000 grehan 2005-08-14 04:19:36 UTC FreeBSD src repository Modified files: sys/isofs/cd9660 cd9660_vfsops.c Log: - restore the ability to mount cd9660 filesystems as root by inverting some of the options test, specifically the joliet and rockridge tests. Since the root mount callchain doesn't go through cd9660_cmount, the default mount options aren't set. Rather than having the main codepath assume the options are there, test for the absence of the inverted optioin e.g. instead of vfs_flagopt(.. "joliet" ..), test for !vfs_flagopt(.. "nojoliet" ..) This works for root mount, non-root mount and future nmount cases. - in cd9660_cmount, remove inadvertent setting of "gens" when "extatt" was set. Reported by: grehan, Dario Freni Tested by: Dario Freni Not objected to by: phk MFC after: 3 days Revision Changes Path 1.141 +6 -7 src/sys/isofs/cd9660/cd9660_vfsops.c