aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorDennis Zhou <[email protected]>2019-09-13 13:54:07 +0000
committerDavid Sterba <[email protected]>2019-09-24 12:45:11 +0000
commiteb5b64f142504a597d67e2109d603055ff765e52 (patch)
tree99ea93193a7d7a93d918825912810354a3020a54 /drivers/fpga/zynq-fpga.c
parentBtrfs: fix selftests failure due to uninitialized i_mode in test inodes (diff)
downloadkernel-eb5b64f142504a597d67e2109d603055ff765e52.tar.gz
kernel-eb5b64f142504a597d67e2109d603055ff765e52.zip
btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer
Before, if a eb failed to write out, we would end up triggering a BUG_ON(). As of f4340622e0226 ("btrfs: extent_io: Move the BUG_ON() in flush_write_bio() one level up"), we no longer BUG_ON(), so we should make life consistent and add back the unwritten bytes to dirty_metadata_bytes. Fixes: f4340622e022 ("btrfs: extent_io: Move the BUG_ON() in flush_write_bio() one level up") CC: [email protected] # 5.2+ Reviewed-by: Filipe Manana <[email protected]> Signed-off-by: Dennis Zhou <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions