1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00
freebsd/sys/fs/nullfs
Konrad Witaszczyk 5c3af1d697 nullfs: Use an a_gen field to cast to vop_generic_args
Instead of casting a vop_F_args object to vop_generic_args, use a
vop_F_args.a_gen field when calling null_bypass(). This way we don't
hardcode the vop_generic_args data type in the callers of null_bypass().

Before this change, there were 3 null_bypass() calls using
a vop_F_args.a_gen field and 5 null_bypass() calls using a cast to
vop_generic_args. This change makes all null_bypass() calls consistent
and easier to maintain.

Pointed out by:	jrtc27
Reviewed by:	kib, oshogbo
Accepted by:	oshogbo (mentor)
Differential Revision: https://reviews.freebsd.org/D37359
2024-07-26 11:14:32 +00:00
..
null_subr.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
null_vfsops.c nullfs: Show correct exported flag. 2024-04-13 17:21:01 +02:00
null_vnops.c nullfs: Use an a_gen field to cast to vop_generic_args 2024-07-26 11:14:32 +00:00
null.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00