]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ext4: track writeback errors using the generic tracking infrastructure
authorTheodore Ts'o <tytso@mit.edu>
Mon, 31 Dec 2018 05:11:07 +0000 (00:11 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 31 Dec 2018 05:11:07 +0000 (00:11 -0500)
commit95cb67138746451cc84cf8e516e14989746e93b0
tree179dff6df500a16e1eee401c5a5ea27afdd996fd
parentad211f3e94b314a910d4af03178a0b52a7d1ee0a
ext4: track writeback errors using the generic tracking infrastructure

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
fs/ext4/fsync.c