mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-21 06:36:27 +00:00
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:
@@ -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().
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user