[PATCH 2/5] buffer: record blockdev write errors in super_block that backs them

2018-06-04 Thread Jeff Layton
From: Jeff Layton When syncing out a block device (a'la __sync_blockdev), any error encountered will only be recorded in the bd_inode's mapping. When the blockdev contains a filesystem however, we'd like to also record the error in the super_block that's stored there. Make

[PATCH 2/5] buffer: record blockdev write errors in super_block that backs them

2018-06-04 Thread Jeff Layton
From: Jeff Layton When syncing out a block device (a'la __sync_blockdev), any error encountered will only be recorded in the bd_inode's mapping. When the blockdev contains a filesystem however, we'd like to also record the error in the super_block that's stored there. Make