HomeFreeBSD

ufs: st_rdev is only meaningful for special nodes

Description

ufs: st_rdev is only meaningful for special nodes

Instead of leaking di_db[0] (for regular files this is the index of the
first block of the file), return NODEV when not a special node.

Reported and reviewed by: des
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D51943

Details

Provenance
kibAuthored on Aug 17 2025, 1:03 PM
Differential Revision
D51943: ufs: st_rdev is only meaningful for special nodes
Parents
rGe1a358aa72af: Revert "amd64: re-enable la57"
Branches
Unknown
Tags
Unknown