]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: fix __grab_cache_page #if
authorSage Weil <sage@newdream.net>
Fri, 27 Feb 2009 21:14:09 +0000 (13:14 -0800)
committerSage Weil <sage@newdream.net>
Mon, 2 Mar 2009 20:37:19 +0000 (12:37 -0800)
2.6.28, not .29

src/kernel/addr.c

index 8d6243a81eff7495fb43ec8348a9a5fcae371c7e..7148ef6afb8f87a880546a6eafd9615d72a8d55f 100644 (file)
@@ -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);