aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorSachin Prabhu <[email protected]>2015-02-04 13:10:26 +0000
committerSteve French <[email protected]>2015-03-21 10:56:22 -0500
commit2477bc58d49edb1c0baf59df7dc093dce682af2b (patch)
treef620d2798b5c5d2e35a2bdd3f0da9fc853a48561 /lib/test-string_helpers.c
parent90a5a895cc8b284ac522757a01de15e36710c2b9 (diff)
cifs: smb2_clone_range() - exit on unhandled error
While attempting to clone a file on a samba server, we receive a STATUS_INVALID_DEVICE_REQUEST. This is mapped to -EOPNOTSUPP which isn't handled in smb2_clone_range(). We end up looping in the while loop making same call to the samba server over and over again. The proposed fix is to exit and return the error value when encountered with an unhandled error. Cc: <[email protected]> Signed-off-by: Sachin Prabhu <[email protected]> Signed-off-by: Steve French <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions