diff options
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r-- | mm/page-writeback.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index dd73d29c15a8..bba82c414ba8 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -1149,6 +1149,13 @@ int redirty_page_for_writepage(struct writeback_control *wbc, struct page *page) | |||
1149 | EXPORT_SYMBOL(redirty_page_for_writepage); | 1149 | EXPORT_SYMBOL(redirty_page_for_writepage); |
1150 | 1150 | ||
1151 | /* | 1151 | /* |
1152 | * Dirty a page. | ||
1153 | * | ||
1154 | * For pages with a mapping this should be done under the page lock | ||
1155 | * for the benefit of asynchronous memory errors who prefer a consistent | ||
1156 | * dirty state. This rule can be broken in some special cases, | ||
1157 | * but should be better not to. | ||
1158 | * | ||
1152 | * If the mapping doesn't provide a set_page_dirty a_op, then | 1159 | * If the mapping doesn't provide a set_page_dirty a_op, then |
1153 | * just fall through and assume that it wants buffer_heads. | 1160 | * just fall through and assume that it wants buffer_heads. |
1154 | */ | 1161 | */ |