Skip to content
Commit b7a10626 authored by Steve French's avatar Steve French
Browse files

[CIFS] WARN_ON_ONCE if kernel_sendmsg() returns -ENOSPC



kernel_sendmsg() is less likely to return -ENOSPC and it might be
a bug to do so. However, in the past there might have been cases
where a -ENOSPC was returned from a low level driver.

Add a WARN_ON_ONCE() to ensure that it is safe to assume that -ENOSPC
is no longer returned. This -ENOSPC specific handling will be removed
once we are sure it is no longer returned.

Reviewed-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSuresh Jayaraman <sjayaraman@suse.com>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent 612a9aab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment