mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
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:
parent
3e0fd1647f
commit
d4dbed6ebc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user