X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Flustre_compat25.h;h=4ec8e559c4be8d7e5d682348f20179ef1524a78f;hp=4b6fddfc3d866a7bfb2205260ecb816e05bf7e25;hb=517a57ca9846fbf9a09d1a54a5295f376b64d58e;hpb=e15e92d314be7ac13737b5d351695a4e21c4655f diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index 4b6fddf..4ec8e55 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -342,6 +342,8 @@ static inline struct dentry *d_make_root(struct inode *root) #ifdef HAVE_VFS_RENAME_5ARGS #define ll_vfs_rename(a, b, c, d) vfs_rename(a, b, c, d, NULL) +#elif defined HAVE_VFS_RENAME_6ARGS +#define ll_vfs_rename(a, b, c, d) vfs_rename(a, b, c, d, NULL, 0) #else #define ll_vfs_rename(a, b, c, d) vfs_rename(a, b, c, d) #endif