afs: Potentially return call->reply[0] from afs_make_call()
authorDavid Howells <dhowells@redhat.com>
Thu, 2 Nov 2017 15:27:48 +0000 (15:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 13 Nov 2017 15:38:17 +0000 (15:38 +0000)
commit33cd7f2b76717ac8dda566d8b4f518e803ae2618
treede1ca2aba2b026759a89ed343271ccf1268093cc
parent97e3043ad82c93b7c2e3c4bfc518f7401f175821
afs: Potentially return call->reply[0] from afs_make_call()

If call->ret_reply0 is set, return call->reply[0] on success.  Change the
return type of afs_make_call() to long so that this can be passed back
without bit loss and then cast to a pointer if required.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/internal.h
fs/afs/rxrpc.c