]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zpl_super.c
Linux 4.16 compat: inode_set_iversion()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 8 Feb 2018 22:27:59 +0000 (14:27 -0800)
committerTony Hutter <hutter2@llnl.gov>
Wed, 14 Mar 2018 23:10:36 +0000 (16:10 -0700)
commit310e63dfd18f59ad583631dfa2f55d40cedf1415
treed0051541401c04e91514770e92aa3aa0f69c31b7
parenta196b3bc3dcc14bda32b2fbed40d5e436319aca6
Linux 4.16 compat: inode_set_iversion()

A new interface was added to manipulate the version field of an
inode.  Add a inode_set_iversion() wrapper for older kernels and
use the new interface when available.

The i_version field was dropped from the trace point due to the
switch to an atomic64_t i_version type.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Chunwei Chen <david.chen@nutanix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7148
config/kernel-inode-set-iversion.m4 [new file with mode: 0644]
config/kernel.m4
include/linux/vfs_compat.h
include/sys/trace_acl.h
module/zfs/zpl_super.c