mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Ryan Moeller <freqlabs@freebsd.org> Closes #12851
This commit is contained in:
committed by
Tony Hutter
parent
af88d47f1e
commit
913ae45218
@@ -132,7 +132,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
|
||||
|
||||
Reference in New Issue
Block a user