aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2012-01-07 21:41:55 -0500
committerWu Fengguang <fengguang.wu@intel.com>2012-01-07 21:35:19 -0500
commitbc31b86a5923fad5f3fbb6192f767f410241ba27 (patch)
tree9c1c0a21b7324567088e37e3c30697f5ebd1c621 /include
parentbdaac4902a8225bf247ecaeac46c4b2980cc70e5 (diff)
writeback: move MIN_WRITEBACK_PAGES to fs-writeback.c
Fix compile error fs/fs-writeback.c:515:33: error: ‘PAGE_CACHE_SHIFT’ undeclared (first use in this function) Reported-by: Randy Dunlap <rdunlap@xenotime.net> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/writeback.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h
index b30419cd425e..4e0a55493023 100644
--- a/include/linux/writeback.h
+++ b/include/linux/writeback.h
@@ -25,11 +25,6 @@ DECLARE_PER_CPU(int, dirty_throttle_leaks);
25#define DIRTY_SCOPE 8 25#define DIRTY_SCOPE 8
26#define DIRTY_FULL_SCOPE (DIRTY_SCOPE / 2) 26#define DIRTY_FULL_SCOPE (DIRTY_SCOPE / 2)
27 27
28/*
29 * 4MB minimal write chunk size
30 */
31#define MIN_WRITEBACK_PAGES (4096UL >> (PAGE_CACHE_SHIFT - 10))
32
33struct backing_dev_info; 28struct backing_dev_info;
34 29
35/* 30/*