HomeFreeBSD

Only try to enable CK_CLYGRP if we're running on kernel newer than

Description

Only try to enable CK_CLYGRP if we're running on kernel newer than
1200046, the first version that supports this feature. If we set it,
then use an old kernel, we'll break the 'contract' of having
checksummed cylinder groups this flag signifies. To avoid creating
something with an inconsistent state, don't turn the flag on in these
cases. The first full fsck with a new kernel will turn this on.

Spnsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D13114

Details

Provenance
impAuthored on
Differential Revision
D13114: Add sanity check for CK_CLYGRP
Parents
rS325902: MFC 319517: Add a cross-reference to sysdecode_socket_protocol(3).
Branches
Unknown
Tags
Unknown