Re: [PATCH] CIFS: Avoid returning EBUSY to upper layer VFS

2018-12-06 Thread Pavel Shilovsky
чт, 6 дек. 2018 г. в 00:29, Steve French via samba-technical : > > Tentatively pushed to cifs-2.6.git for-next > On Wed, Dec 5, 2018 at 10:52 PM Long Li wrote: > > > > From: Long Li > > > > EBUSY is not handled by VFS, and will be passed to user-mode. This is not > > correct as we need to wait fo

Re: [PATCH] CIFS: Avoid returning EBUSY to upper layer VFS

2018-12-06 Thread Steve French
Tentatively pushed to cifs-2.6.git for-next On Wed, Dec 5, 2018 at 10:52 PM Long Li wrote: > > From: Long Li > > EBUSY is not handled by VFS, and will be passed to user-mode. This is not > correct as we need to wait for more credits. > > This patch also fixes a bug where rsize or wsize is used un

[PATCH] CIFS: Avoid returning EBUSY to upper layer VFS

2018-12-05 Thread Long Li
From: Long Li EBUSY is not handled by VFS, and will be passed to user-mode. This is not correct as we need to wait for more credits. This patch also fixes a bug where rsize or wsize is used uninitialized when the call to server->ops->wait_mtu_credits() fails. Reported-by: Dan Carpenter Signed-