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:
ce83dd7
)
b=22844 Fix build failed for SLES9/PPC64.
author
yangsheng
<Sheng.Yang@Sun.COM>
Wed, 19 May 2010 11:03:51 +0000
(19:03 +0800)
committer
Johann Lombardi
<johann@sun.com>
Wed, 19 May 2010 11:15:11 +0000
(13:15 +0200)
i=johann
lustre/llite/file.c
patch
|
blob
|
history
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
33d562c
..
9d58f08
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-3029,7
+3029,11
@@
loff_t ll_file_seek(struct file *file, loff_t offset, int origin)
RETURN(retval);
}
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,5)
+int ll_flush(struct file *file)
+#else
int ll_flush(struct file *file, fl_owner_t id)
+#endif
{
struct inode *inode = file->f_dentry->d_inode;
struct ll_inode_info *lli = ll_i2info(inode);