Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-1994 llite: kernel 3.5 renames end_writeback to clear_inode
[fs/lustre-release.git]
/
lustre
/
include
/
linux
/
lustre_compat25.h
diff --git
a/lustre/include/linux/lustre_compat25.h
b/lustre/include/linux/lustre_compat25.h
index
e5d6622
..
7cba933
100644
(file)
--- a/
lustre/include/linux/lustre_compat25.h
+++ b/
lustre/include/linux/lustre_compat25.h
@@
-619,6
+619,10
@@
static inline int ll_quota_off(struct super_block *sb, int off, int remount)
#define ll_kunmap_atomic(a, b) kunmap_atomic(a, b)
#endif
+#ifndef HAVE_CLEAR_INODE
+#define clear_inode(i) end_writeback(i)
+#endif
+
#ifndef HAVE_BI_HW_SEGMENTS
#define bio_hw_segments(q, bio) 0