From: yangsheng Date: Fri, 1 Aug 2008 08:44:01 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_100~1^337~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8b3a4d7e45e52760740db69d87cd74eeaee6a4cb;p=fs%2Flustre-release.git Branch b1_8_gate b=15308 Fixed for sles9 build be broken. --- diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index 8864936..01d2857 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -466,7 +466,8 @@ static inline int mapping_has_pages(struct address_space *mapping) #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,7)) #define ll_set_dflags(dentry, flags) do { dentry->d_vfs_flags |= flags; } while(0) -#define ll_vfs_symlink(dir, dentry, path, mode) vfs_symlink(dir, dentry, path) +#define ll_vfs_symlink(dir, dentry, mnt, path, mode) \ + vfs_symlink(dir, dentry, path) #else #define ll_set_dflags(dentry, flags) do { \ spin_lock(&dentry->d_lock); \