]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb784b1536ce3be5fd8c17bb69fe062661361cf9
treede1ca2aba2b026759a89ed343271ccf1268093cc
parent508f7826badaced22ae0942c9e1b61ae063237c8
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