CIFS: Fix error paths in writeback code
authorPavel Shilovsky <pshilov@microsoft.com>
Tue, 8 Jan 2019 19:15:28 +0000 (11:15 -0800)
committerSteve French <stfrench@microsoft.com>
Fri, 11 Jan 2019 13:14:40 +0000 (07:14 -0600)
commit9a66396f1857cc1de06f4f4771797315e1a4ea56
treec7c71626e1e10264377066ca7f9b016e03d4c210
parentee258d79159afed52ca9372aeb9c1a51e89b32ee
CIFS: Fix error paths in writeback code

This patch aims to address writeback code problems related to error
paths. In particular it respects EINTR and related error codes and
stores and returns the first error occurred during writeback.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Acked-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/cifssmb.c
fs/cifs/file.c
fs/cifs/inode.c