Re: [PATCH 00/35] IO-less dirty throttling v4

Wu Fengguang
2010-12-14T04:59:55Z

On Tue, Dec 14, 2010 at 11:26:29AM +0800, Yan, Zheng wrote:
> got error "global_dirty_limits" [fs/nfs/nfs.ko] undefined! when
> compiling dirty-throttling-v4

Thanks! This should fix it. The fix will show up in the git tree after a while.

Thanks,
Fengguang
---
Subject: writeback: export global_dirty_limits() for NFS
Date: Tue Dec 14 12:55:18 CST 2010

"global_dirty_limits" [fs/nfs/nfs.ko] undefined!

Reported-by: Yan Zheng <zheng.z.yan@linux.intel.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
---
mm/page-writeback.c | 1 +
1 file changed, 1 insertion(+)

--- linux-next.orig/mm/page-writeback.c 2010-12-14 12:54:57.000000000 +0800
+++ linux-next/mm/page-writeback.c 2010-12-14 12:55:11.000000000 +0800
@@ -419,6 +419,7 @@ void global_dirty_limits(unsigned long *
*pbackground = background;
*pdirty = dirty;
}
+EXPORT_SYMBOL_GPL(global_dirty_limits);

/**
* bdi_dirty_limit - @bdi's share of dirty throttling threshold