From: Linus Torvalds Date: Sat, 23 Dec 2006 17:25:04 +0000 (-0800) Subject: Clean up and export cancel_dirty_page() to modules X-Git-Tag: v2.6.20-rc2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8368e328dfe1c534957051333a87b3210a12743b;p=pandora-kernel.git Clean up and export cancel_dirty_page() to modules Make cancel_dirty_page() act more like all the other dirty and writeback accounting functions: test for "mapping" being NULL, and do the NR_FILE_DIRY accounting purely based on mapping_cap_account_dirty()). Also, add it to the exports, so that modular filesystems can use it. Acked-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed