]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Linux 4.12 compat: CURRENT_TIME removed
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 10 May 2017 16:30:48 +0000 (09:30 -0700)
committerGitHub <noreply@github.com>
Wed, 10 May 2017 16:30:48 +0000 (09:30 -0700)
commit2946a1a15aab874107b4425513c1bf805e730803
tree21b3f8b56ed293b626eefc6549aeb74342ae3eb5
parenta3eeab2de68670a4481eab3d086982aff23b6906
Linux 4.12 compat: CURRENT_TIME removed

Linux 4.9 added current_time() as the preferred interface to get
the filesystem time.  CURRENT_TIME was retired in Linux 4.12.

Reviewed-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6114
config/kernel-current-time.m4 [new file with mode: 0644]
config/kernel.m4
include/linux/vfs_compat.h
module/zfs/zfs_ctldir.c
module/zfs/zpl_ctldir.c
module/zfs/zpl_inode.c
module/zfs/zpl_xattr.c