Page MenuHomeFreeBSD

kern/vfs_unmount.c: promote flags to uint64_t
ClosedPublic

Authored by kib on Feb 9 2026, 6:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 22, 1:38 PM
Unknown Object (File)
Thu, May 14, 1:34 PM
Unknown Object (File)
Thu, May 14, 11:42 AM
Unknown Object (File)
Thu, May 14, 6:41 AM
Unknown Object (File)
Thu, May 14, 6:41 AM
Unknown Object (File)
Thu, May 14, 5:06 AM
Unknown Object (File)
Mon, May 11, 10:53 PM
Unknown Object (File)
Mon, May 11, 7:12 PM
Subscribers

Details

Summary
to prevent sign-extension, causing unexpected flags to be passed to
dounmount().  The mnt_flags and MNT_* constants are 64bit wide.

Siggested by:   jah

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable