Comment 14 for bug 2041670

Revision history for this message
In , colin.i.king (colin.i.king-linux-kernel-bugs) wrote :

Yes, sorry, I pasted the text into the report and somehow forgot to put sudo ./reproducer

I just wanted to clarify that the open with O_DIRECT and O_CREAT failure should not leave the file around if the open call gets an error return since this is not consistent with other file systems. Also it's not consistent with other open failure modes. Otherwise we need to fix every open call to remove any left over files if open fails and a file may be left over from the failed open.