HomeFreeBSD

Use the correct flags field when checking for a read-only filesystem
rS71968Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Provenance
iedowseAuthored on
Parents
rS71967: MFC: rev 1.16 - print out the device name when the mount fails
Branches
Unknown
Tags
Unknown

Event Timeline