Whamcloud - gitweb
LU-4726 ptlrpc: vfs_rename api changed 37/9537/4
authorBob Glossman <bob.glossman@intel.com>
Thu, 6 Mar 2014 18:31:05 +0000 (10:31 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 10 Mar 2014 22:41:13 +0000 (22:41 +0000)
commite4d660244e9265015c3e3480b48a28b15f0813b7
tree4301746db85c2c3b0eaeacc0e09b619720805296
parenta2d036366d9248a60981ae31a2deb754ed2b962d
LU-4726 ptlrpc: vfs_rename api changed

In newer kernels the vfs_rename api changed to take
more arguments. This patch creates a wrapper to let us adapt
to the different versions of vfs_rename in old and new kernels.

Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Change-Id: Ia5dafe64570fc404cd8a037fd442ca12e687ffc1
Reviewed-on: http://review.whamcloud.com/9537
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/autoconf/lustre-core.m4
lustre/include/linux/lustre_compat25.h
lustre/ptlrpc/sec_ctx.c