mm: exporting account_page_dirty
authorMichael Rubin <mrubin@google.com>
Fri, 20 Aug 2010 09:31:26 +0000 (02:31 -0700)
committerSage Weil <sage@newdream.net>
Sun, 22 Aug 2010 22:16:51 +0000 (15:16 -0700)
commit679ceace848e9fd570678396ffe1ef034e00e82d
tree670768527852f134cfe3e20d425534a16edd968a
parenteb6bb1c5bdc6e455a9d16cb845cc65afc9b0a617
mm: exporting account_page_dirty

This allows code outside of the mm core to safely manipulate page state
and not worry about the other accounting. Not using these routines means
that some code will lose track of the accounting and we get bugs. This
has happened once already.

Signed-off-by: Michael Rubin <mrubin@google.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/addr.c
mm/page-writeback.c