Date: Sat, 3 Feb 2001 13:25:32 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ufs ufs_lookup.c Message-ID: <200102032125.f13LPWN00168@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102032125.f13LPWN00168>
