commit | bb80ad0dc3924f193eaa752e9da2e9384f58e627 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Dec 31 00:11:07 2018 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 16 22:04:36 2019 +0100 |
tree | 93a26551408315e703c982aee3abe76bc33ad0f1 | |
parent | da38a1b47b02b01f96976bbf75466bc1ae519d76 [diff] |
ext4: track writeback errors using the generic tracking infrastructure commit 95cb67138746451cc84cf8e516e14989746e93b0 upstream. We already using mapping_set_error() in fs/ext4/page_io.c, so all we need to do is to use file_check_and_advance_wb_err() when handling fsync() requests in ext4_sync_file(). Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>