summaryrefslogtreecommitdiff
path: root/Documentation/workqueue.txt
diff options
context:
space:
mode:
authorAlex Lyakas <alex.bolshoy@gmail.com>2016-03-10 13:10:15 +0200
committerDavid Sterba <dsterba@suse.com>2016-03-22 10:08:12 +0100
commit0f805531daa2ebfb5706422dc2ead1cff9e53e65 (patch)
tree67ac073abecb56e21a03d7ec45043578984a6cba /Documentation/workqueue.txt
parent8bd98f0e6bf792e8fa7c3fed709321ad42ba8d2e (diff)
btrfs: do not write corrupted metadata blocks to disk
csum_dirty_buffer was issuing a warning in case the extent buffer did not look alright, but was still returning success. Let's return error in this case, and also add an additional sanity check on the extent buffer header. The caller up the chain may BUG_ON on this, for example flush_epd_write_bio will, but it is better than to have a silent metadata corruption on disk. Signed-off-by: Alex Lyakas <alex@zadarastorage.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation/workqueue.txt')
0 files changed, 0 insertions, 0 deletions