From ebc2c9374bde0c53837e7c909809697088615a88 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 19 Aug 2015 14:48:21 -0700 Subject: Linux 4.2 compat: vfs_rename() Attempting to perform a vfs_rename() on Linux 4.2 and newer kernels results in an EACCES error. Rather than attempting to add and maintain more ugly compatibility code it's best to just retire this interface. As a first step the SPLAT test is disabled for Linux 4.2 and newer kernels. vn_rename: Failed vn_rename /tmp/vn.tmp.1 -> /tmp/vn.tmp.2 (13) Signed-off-by: Brian Behlendorf Issue zfsonlinux/zfs#3653 --- module/splat/splat-internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'module/splat/splat-internal.h') diff --git a/module/splat/splat-internal.h b/module/splat/splat-internal.h index 832132696..d00af90fa 100644 --- a/module/splat/splat-internal.h +++ b/module/splat/splat-internal.h @@ -28,6 +28,7 @@ #include "splat-ctl.h" #include #include +#include #define SPLAT_SUBSYSTEM_INIT(type) \ ({ splat_subsystem_t *_sub_; \ -- cgit v1.2.3