]> git.baikalelectronics.ru Git - kernel.git/commit
AFS: Use patched rxrpc_kernel_send_data() correctly
authorDavid Howells <dhowells@redhat.com>
Fri, 20 Jul 2007 09:59:41 +0000 (10:59 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 20 Jul 2007 15:54:14 +0000 (08:54 -0700)
commitd2c987d12d9d7851f6ed2ae39d125e4541bf9732
treebb075b1017c88ff27c1d8fba6fa805ecb0db0e62
parent76d1f9363403b8b059386abc8fe7208025e52d0b
AFS: Use patched rxrpc_kernel_send_data() correctly

Fix afs_send_simple_reply() to accept a greater-than-zero return value from
rxrpc_kernel_send_data() as being a successful return rather than thinking it
an error and aborting the call.

rxrpc_kernel_send_data() previously returned zero incorrectly when it worked
successfully, but has been patched to return the number of bytes it
transmitted.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/afs/rxrpc.c