diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-18 19:20:28 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:27 -0400 |
commit | fc9c59662e0cd37577556d0de865268baeb9b293 (patch) | |
tree | 3b89e75e749bd1d06a7cbfd3cf4b074aa67eb7ec /fs/cifs/smb2maperror.c | |
parent | 3a3bab509f3f0e7295caab24e9102ce303edb50b (diff) |
CIFS: Move async read to ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2maperror.c')
-rw-r--r-- | fs/cifs/smb2maperror.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/smb2maperror.c b/fs/cifs/smb2maperror.c index be41478acc05..eaf5466d4041 100644 --- a/fs/cifs/smb2maperror.c +++ b/fs/cifs/smb2maperror.c | |||
@@ -2455,7 +2455,8 @@ map_smb2_to_linux_error(char *buf, bool log_err) | |||
2455 | return 0; | 2455 | return 0; |
2456 | 2456 | ||
2457 | /* mask facility */ | 2457 | /* mask facility */ |
2458 | if (log_err && (smb2err != (STATUS_MORE_PROCESSING_REQUIRED))) | 2458 | if (log_err && (smb2err != STATUS_MORE_PROCESSING_REQUIRED) && |
2459 | (smb2err != STATUS_END_OF_FILE)) | ||
2459 | smb2_print_status(smb2err); | 2460 | smb2_print_status(smb2err); |
2460 | else if (cifsFYI & CIFS_RC) | 2461 | else if (cifsFYI & CIFS_RC) |
2461 | smb2_print_status(smb2err); | 2462 | smb2_print_status(smb2err); |