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:
37ceadf
)
Fix breakage from missing wait_on_buffer() inline.
author
adilger
<adilger>
Fri, 18 Oct 2002 21:45:48 +0000
(21:45 +0000)
committer
adilger
<adilger>
Fri, 18 Oct 2002 21:45:48 +0000
(21:45 +0000)
lustre/llite/dir.c
patch
|
blob
|
history
diff --git
a/lustre/llite/dir.c
b/lustre/llite/dir.c
index
633763c
..
987f1dd
100644
(file)
--- a/
lustre/llite/dir.c
+++ b/
lustre/llite/dir.c
@@
-32,6
+32,11
@@
#include <linux/mm.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
+#include <linux/locks.h> // for wait_on_buffer
+#else
+#include <linux/buffer_head.h> // for wait_on_buffer
+#endif
#define DEBUG_SUBSYSTEM S_LLITE