diff options
author | Pavel Shilovsky <pshilov@microsoft.com> | 2019-01-29 23:15:11 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-03-06 03:10:04 +0300 |
commit | fe768d51c832ebde70a83221b0633dc7bc9640a6 (patch) | |
tree | 06304ab7a40e0372eb79a3af3014e59c4eadc4d0 /fs/reiserfs/xattr.c | |
parent | c4b8f657d55b4ed60cb0a2187e940706de23f2b2 (diff) | |
download | linux-fe768d51c832ebde70a83221b0633dc7bc9640a6.tar.xz |
CIFS: Return error code when getting file handle for writeback
Now we just return NULL cifsFileInfo pointer in cases we didn't find
or couldn't reopen a file. This hides errors from cifs_reopen_file()
especially retryable errors which should be handled appropriately.
Create new cifs_get_writable_file() routine that returns error codes
from cifs_reopen_file() and use it in the writeback codepath.
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/reiserfs/xattr.c')
0 files changed, 0 insertions, 0 deletions