HomeFreeBSD

ng_device: replace dependency on vnode.h with fcntl.h

Description

ng_device: replace dependency on vnode.h with fcntl.h

Update to current convention of using fcntl.h O_* flags instead of vnode.h IO_*
ones, as explained in sys/fs/devfs/devfs_vnops.c.

Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>
Reviewed by: imp, jhb
Pull Request: https://github.com/freebsd/freebsd-src/pull/1827

Details

Provenance
quentin.thebault_defenso.frAuthored on Aug 28 2025, 6:27 AM
impCommitted on Sep 12 2025, 4:24 PM
Parents
rGecca34fa9695: gunion: Also destroy the rw_lock
Branches
Unknown
Tags
Unknown