summaryrefslogtreecommitdiff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.osdl.org>2006-12-23 09:25:04 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-23 09:25:04 -0800
commit8368e328dfe1c534957051333a87b3210a12743b (patch)
treeeaf180335e684a62c44e9aad42cbe2d07de045f3 /mm/page_alloc.c
parent18ed1c051317ac3a685120cead2adb192b802347 (diff)
downloadlinux-3.10-8368e328dfe1c534957051333a87b3210a12743b.tar.gz
linux-3.10-8368e328dfe1c534957051333a87b3210a12743b.tar.bz2
linux-3.10-8368e328dfe1c534957051333a87b3210a12743b.zip
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 <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions