mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
config: remove HAVE_INODE_SET_IVERSION
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #16479
This commit is contained in:
@@ -274,20 +274,6 @@ func(struct mnt_idmap *user_ns, const struct path *path, \
|
||||
#error
|
||||
#endif
|
||||
|
||||
/*
|
||||
* 4.16 API change
|
||||
* Added iversion interface for managing inode version field.
|
||||
*/
|
||||
#ifdef HAVE_INODE_SET_IVERSION
|
||||
#include <linux/iversion.h>
|
||||
#else
|
||||
static inline void
|
||||
inode_set_iversion(struct inode *ip, u64 val)
|
||||
{
|
||||
ip->i_version = val;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Returns true when called in the context of a 32-bit system call.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user