[PATCH v2 4/9] nilfs2: set the mapping error when calling SetPageError on writeback

2017-03-08 Thread Jeff Layton
In a later patch, we're going to want to make the fsync codepath not do a TestClearPageError call as that can override the error set in the address space. To do that though, we need to ensure that filesystems that are relying on the PG_error bit for reporting writeback errors also set an error in

[PATCH v2 4/9] nilfs2: set the mapping error when calling SetPageError on writeback

2017-03-08 Thread Jeff Layton
In a later patch, we're going to want to make the fsync codepath not do a TestClearPageError call as that can override the error set in the address space. To do that though, we need to ensure that filesystems that are relying on the PG_error bit for reporting writeback errors also set an error in