projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5eb62e
)
Btrfs: define write_cache_pages for linux kernel <= 2.6.20 instead
author
Miguel
<miguel.filipe@gmail.com>
Fri, 11 Apr 2008 19:46:48 +0000
(15:46 -0400)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:01 +0000
(11:04 -0400)
write_cache_pages doesn't exist in linux 2.6.20, change the #if
condition to match that.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent_io.c
b/fs/btrfs/extent_io.c
index 866460c3d72cc7125ccb1d384d272228079499fa..88322684be6aa0b40c274c296b4fd2a8d15ce8c8 100644
(file)
--- a/
fs/btrfs/extent_io.c
+++ b/
fs/btrfs/extent_io.c
@@
-2109,8
+2109,7
@@
done:
return 0;
}
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18)
-
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,20)
/* Taken directly from 2.6.23 for 2.6.18 back port */
typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc,
void *data);