aboutsummaryrefslogtreecommitdiffstats
path: root/include/os/freebsd
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2021-12-16 16:22:15 -0500
committerGitHub <[email protected]>2021-12-16 13:22:15 -0800
commit92a9e8c6181381119ae5c7699748307cf90dfe1c (patch)
treef62336ee78b9d2f3fb3b9236947a26b5ec70639a /include/os/freebsd
parentf6a0dac84af2fba9c306a3a307ea7aafcbe32d2b (diff)
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 <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #12851
Diffstat (limited to 'include/os/freebsd')
-rw-r--r--include/os/freebsd/spl/sys/vnode.h1
1 files changed, 0 insertions, 1 deletions
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