Orphaned inodes should only be deleted if their nlink has reached zero.
Without this patch, doing direct I/O on a deleted file is likely to go wrong
when the backing file is deleted before it is actually finished with.
This change is applied upstream.
Created attachment 134798 [details]
EXT3: Only delete orphaned inodes if they've got a non-zero nlink
committed in stream U5 build 42.18. A test kernel with this patch is available
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.