Re: [PATCH] fix error: a bin file can truncate itself while running at overlayfs.

2016-06-20 Thread Miklos Szeredi
On Mon, Jun 20, 2016 at 4:51 AM, wrote: > From: Aihua Zhang > > I wrote a testcase to truncate a bin file while it is running at overlayfs. > the result as below: > > Bus error (core dumped) Thanks for the report. Please tell us more information about how to trigger the bug: - how did you se

[PATCH] fix error: a bin file can truncate itself while running at overlayfs.

2016-06-19 Thread zhangaihua1
From: Aihua Zhang I wrote a testcase to truncate a bin file while it is running at overlayfs. the result as below: Bus error (core dumped) I think it's not appropriate for filesystem, and fixed it by this patch. after the patch, result as below: status:-1 errno:26 ETXTBSY:26 PASS This is beca