]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
mm/page-writeback: export account_page_dirtied()
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 8 Dec 2009 20:52:24 +0000 (12:52 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 8 Dec 2009 20:52:24 +0000 (12:52 -0800)
The ceph filesystem implementation of set_page_dirty is based on
__set_page_dirty_nobuffers(), and needs to use account_page_dirtied(). This
exports it using EXPORT_SYMBOL_GPL.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
mm/page-writeback.c

index a3b14090b1fb8f296ce9ce2fcec2bd2bbccd8d22..4f8412af6e33513c7a7528ef676c6c1507714a02 100644 (file)
@@ -1095,6 +1095,7 @@ void account_page_dirtied(struct page *page, struct address_space *mapping)
                task_io_account_write(PAGE_CACHE_SIZE);
        }
 }
+EXPORT_SYMBOL_GPL(account_page_dirtied);
 
 /*
  * For address_spaces which do not use buffers.  Just tag the page as dirty in