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>
This commit is contained in:
@@ -25,11 +25,6 @@ DECLARE_PER_CPU(int, dirty_throttle_leaks);
|
||||
#define DIRTY_SCOPE 8
|
||||
#define DIRTY_FULL_SCOPE (DIRTY_SCOPE / 2)
|
||||
|
||||
/*
|
||||
* 4MB minimal write chunk size
|
||||
*/
|
||||
#define MIN_WRITEBACK_PAGES (4096UL >> (PAGE_CACHE_SHIFT - 10))
|
||||
|
||||
struct backing_dev_info;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user