From: Sage Weil Date: Fri, 27 Feb 2009 21:14:09 +0000 (-0800) Subject: kclient: fix __grab_cache_page #if X-Git-Tag: v0.7~81^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=220b116bfdc0ede84da93f296d42706fc0fc23f4;p=ceph.git kclient: fix __grab_cache_page #if 2.6.28, not .29 --- diff --git a/src/kernel/addr.c b/src/kernel/addr.c index 8d6243a81eff..7148ef6afb8f 100644 --- a/src/kernel/addr.c +++ b/src/kernel/addr.c @@ -840,7 +840,7 @@ static int ceph_write_begin(struct file *file, struct address_space *mapping, /* get a page*/ retry: -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28) page = grab_cache_page_write_begin(mapping, index, 0); #else page = __grab_cache_page(mapping, index);