From 92a9e8c6181381119ae5c7699748307cf90dfe1c Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Thu, 16 Dec 2021 16:22:15 -0500 Subject: FreeBSD: Provide correct file generation number va_seq was actually a thin veil over va_gen, so z_gen is a more appropriate value than z_seq to populate the field with. Drop the unnecessary compat obfuscation and provide the correct file generation number. Reviewed-by: Brian Behlendorf Reviewed-by: Alexander Motin Signed-off-by: Ryan Moeller Closes #12851 --- include/os/freebsd/spl/sys/vnode.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/os/freebsd') diff --git a/include/os/freebsd/spl/sys/vnode.h b/include/os/freebsd/spl/sys/vnode.h index 1ac595aa1..d2c900854 100644 --- a/include/os/freebsd/spl/sys/vnode.h +++ b/include/os/freebsd/spl/sys/vnode.h @@ -134,7 +134,6 @@ vn_flush_cached_data(vnode_t *vp, boolean_t sync) /* TODO: This field needs conversion! */ #define va_nblocks va_bytes #define va_blksize va_blocksize -#define va_seq va_gen #define MAXOFFSET_T OFF_MAX #define EXCL 0 -- cgit v1.2.3