On Sun, May 20, 2018 at 07:45:31AM -0400, Jeff Layton wrote: > [PATCH] loop: clear wb_err in bd_inode when detaching backing file Is this the right thing to do? Putting the test-suite aside for the moment, if I have a loop device on a file and I hit a real error on the storage backing that file, I don't see why detaching the loop device from the file should clear the error. I'm really tempted to say that we should fix the test-suite to consume the error; once it's been read by at least one reader, it won't go back to zero, but neither will it show up for new readers.