From 07dbfb28a6a6a3c283254f25b22e3d10c113c3f0 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 7 Feb 2014 12:46:39 +0000 Subject: [PATCH] scst_vdisk: Build fix for kernels 2.6.27..2.6.30 add_to_page_cache_lru and __lock_page_killable are exported since kernel version 2.6.30. See also patch "Staging: pohmelfs: kconfig/makefile and vfs changes" (commit 18bc0bbd162e3eb3e7ea2953c315ad4113a57164; included in kernel v2.6.30). Signed-off-by: Sebastian Herbszt git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5273 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index a78326f7e..4a1854c1c 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -1547,7 +1547,7 @@ out: return res; } -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30) /** * finish_read - Release the pages referenced by prepare_read(). */