writeback: consolidate variable names in balance_dirty_pages()
authorWu Fengguang <fengguang.wu@intel.com>
Sun, 12 Sep 2010 19:34:05 +0000 (13:34 -0600)
committerWu Fengguang <fengguang.wu@intel.com>
Sun, 10 Jul 2011 05:09:02 +0000 (22:09 -0700)
commit7762741e3af69720186802e945229b6a5afd5c49
treee5ca904b7b31154b1a412bcd3a2160f31581bdb7
parent00821b002df7da867bb2c15b4f83f3706371383f
writeback: consolidate variable names in balance_dirty_pages()

Introduce

nr_dirty = NR_FILE_DIRTY + NR_WRITEBACK + NR_UNSTABLE_NFS

in order to simplify many tests in the following patches.

balance_dirty_pages() will eventually care only about the dirty sums
besides nr_writeback.

Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
mm/page-writeback.c