Thread (11 messages) 11 messages, 5 authors, 2013-02-04
STALE4907d

[PATCH v2] md: protect against crash upon fsync on ro array

From: Sebastian Riemer <hidden>
Date: 2013-01-28 10:32:03

Subject was: Re: fsync() on read-only RAID triggers BUG

On 27.01.2013 17:39, Christoph Hellwig wrote:
On Sat, Jan 26, 2013 at 07:44:40PM +0000, Ben Hutchings wrote:
quoted
I applied this on top of 3.2.37 and it certainly fixes the crash.
However I wonder whether fsync() should fail or should immediately
succeed.  I don't know whether the installer expects it to succeed.
It should succeed.
O.K., then I hope Neil applies the attached patch. I've changed the
return value to success.

This is also something for linux-stable and should apply to many kernel
versions without an issue.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help