From owner-cvs-all Sat Feb 3 13:25:56 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BD9C737B503; Sat, 3 Feb 2001 13:25:32 -0800 (PST) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f13LPWN00168; Sat, 3 Feb 2001 13:25:32 -0800 (PST) (envelope-from iedowse) Message-Id: <200102032125.f13LPWN00168@freefall.freebsd.org> From: Ian Dowse Date: Sat, 3 Feb 2001 13:25:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ufs ufs_lookup.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG iedowse 2001/02/03 13:25:32 PST Modified files: sys/ufs/ufs ufs_lookup.c Log: Use the correct flags field when checking for a read-only filesystem in ufs_dirbad(). The mnt_stat.f_flags field is only updated by the syscalls *statfs and getfsstat, so mnt_flag should be used instead. This only affects whether or not a panic is generated on detection of certain types of directory corruption. Reviewed by: mckusick Revision Changes Path 1.44 +2 -2 src/sys/ufs/ufs/ufs_lookup.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message