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:
51a474c
)
Get rid of local definition of ___wait_on_page. It existed at least as far
author
adilger
<adilger>
Wed, 5 Jun 2002 23:38:04 +0000
(23:38 +0000)
committer
adilger
<adilger>
Wed, 5 Jun 2002 23:38:04 +0000
(23:38 +0000)
back as 2.4.0-prerelease and all 2.4.0-test kernels. It also breaks with
current RH RMAP kernels as well.
lustre/obdclass/genops.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
8ef7600
..
3a05363
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-199,6
+199,7
@@
int gen_cleanup(struct obd_device * obddev)
return 0;
} /* sim_cleanup_device */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
void ___wait_on_page(struct page *page)
{
struct task_struct *tsk = current;
@@
-215,6
+216,7
@@
void ___wait_on_page(struct page *page)
tsk->state = TASK_RUNNING;
remove_wait_queue(&page->wait, &wait);
}
+#endif
void lck_page(struct page *page)
{