X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Flustre_compat25.h;h=a485b074294722f3787597f73de272ca9e5a1510;hp=24412f261f5c04375bd465297fedfbb48444f4ea;hb=e4d660244e9265015c3e3480b48a28b15f0813b7;hpb=be41e2ce0d71a707da703e6f8e82d397be839d23 diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index 24412f2..a485b07 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -336,4 +336,10 @@ static inline struct dentry *d_make_root(struct inode *root) #define ll_truncate_pagecache(inode, size) truncate_pagecache(inode, size) #endif +#ifdef HAVE_VFS_RENAME_5ARGS +#define ll_vfs_rename(a, b, c, d) vfs_rename(a, b, c, d, NULL) +#else +#define ll_vfs_rename(a, b, c, d) vfs_rename(a, b, c, d) +#endif + #endif /* _COMPAT25_H */