Re: [PATCH] fs: configfs: don't set buffer_needs_fill to zero if show() returns error

2016-07-27 Thread Christoph Hellwig
Hi Tal, I've queued up the patch a while ago, and it will go to Linus later this week.

Re: [PATCH] fs: configfs: don't set buffer_needs_fill to zero if show() returns error

2016-07-26 Thread Tal Shorer
On Fri, Jul 1, 2016 at 12:28 PM, Tal Shorer wrote: > A confgifs attribute's show() callback is called once the first time > the user attempts to read from it. If it returns an error, that > error is returned to the user. However, the open file's > buffer_needs_fill is still set to zero and consecu

[PATCH] fs: configfs: don't set buffer_needs_fill to zero if show() returns error

2016-07-01 Thread Tal Shorer
A confgifs attribute's show() callback is called once the first time the user attempts to read from it. If it returns an error, that error is returned to the user. However, the open file's buffer_needs_fill is still set to zero and consecutive read() calls will find an empty buffer that doesn't nee