mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
5c3af1d697
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 |
||
---|---|---|
.. | ||
null_subr.c | ||
null_vfsops.c | ||
null_vnops.c | ||
null.h |