]> git.proxmox.com Git - mirror_spl.git/commit
Linux 4.2 compat: vfs_rename()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 19 Aug 2015 21:48:21 +0000 (14:48 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 19 Aug 2015 23:03:29 +0000 (16:03 -0700)
commitebc2c9374bde0c53837e7c909809697088615a88
tree50419a89f56242b7f5a1324f2c78a67f37255e52
parent851a549305ad9001e7a6dfbf735f501b286e9d08
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 <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#3653
module/splat/splat-internal.h
module/splat/splat-vnode.c