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
F174509355: D55197.id171575.diff
Sat, Oct 3, 7:37 PM
Unknown Object (File)
Thu, Oct 1, 10:35 PM
Unknown Object (File)
Thu, Oct 1, 10:35 PM
Unknown Object (File)
Thu, Oct 1, 10:35 PM
Unknown Object (File)
Wed, Sep 30, 4:25 PM
Unknown Object (File)
Tue, Sep 29, 9:30 AM
Unknown Object (File)
Thu, Sep 24, 4:43 AM
Unknown Object (File)
Mon, Sep 21, 10:43 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