Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ff55cd
)
Branch b1_6
author
yangsheng
<yangsheng>
Fri, 1 Aug 2008 08:40:25 +0000
(08:40 +0000)
committer
yangsheng
<yangsheng>
Fri, 1 Aug 2008 08:40:25 +0000
(08:40 +0000)
b=15308
Fixed the macro for sles10 but it broken the sles9.
lustre/include/linux/lustre_compat25.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/lustre_compat25.h
b/lustre/include/linux/lustre_compat25.h
index
b754ea6
..
9367790
100644
(file)
--- 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); \