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 <herbszt@gmx.de>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5273 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-02-07 12:46:39 +00:00
parent 91d9391194
commit 07dbfb28a6
+1 -1
View File
@@ -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().
*/