From: Yehuda Sadeh <yehuda@hq.newdream.net>
To: linux-mm@kvack.org
Cc: Yehuda Sadeh <yehuda@hq.newdream.net>,
linux-kernel@vger.kernel.org, sage@newdream.net
Subject: [PATCH] mm/page-writeback: export account_page_dirtied()
Date: Tue, 8 Dec 2009 13:41:59 -0800 [thread overview]
Message-ID: <1260308519-16899-1-git-send-email-yehuda@hq.newdream.net> (raw)
The ceph filesystem implementation of set_page_dirty is based on
__set_page_dirty_nobuffers(), and needs to use account_page_dirtied(). It
uses its own implementation as it needs to set the page private bit and
value under the tree lock. This exports it using EXPORT_SYMBOL_GPL.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
---
mm/page-writeback.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index a3b1409..4f8412a 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -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
--
1.5.6.5
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
reply other threads:[~2009-12-08 21:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1260308519-16899-1-git-send-email-yehuda@hq.newdream.net \
--to=yehuda@hq.newdream.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=sage@newdream.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox