[PATCH 3.2 096/152] mm: protect set_page_dirty() from ongoing truncation

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit 2d6d7f98284648c5ed113fe22a132148950b140f upstream. Tejun, while reviewing the code, spotted the following race condition between the dirtying and truncation of a page:

[PATCH 3.2 096/152] mm: protect set_page_dirty() from ongoing truncation

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner han...@cmpxchg.org commit 2d6d7f98284648c5ed113fe22a132148950b140f upstream. Tejun, while reviewing the code, spotted the following race condition between the dirtying and