Revert "kclient: fix __grab_cache_page #if"

This reverts commit 220b116bfd.

Linux commit 54566b2c1594c2326a645a3551f9d989f7ba3c5e falls between
v2.6.28 and v2.6.29-rc1, so this #if should be 2.6.29.
This commit is contained in:
Sage Weil 2009-03-02 13:45:40 -08:00
parent 3e0fd1647f
commit d4dbed6ebc

View 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, 28)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29)
page = grab_cache_page_write_begin(mapping, index, 0);
#else
page = __grab_cache_page(mapping, index);