]> git.karo-electronics.de Git - linux-beck.git/commit
svcrpc: copy cb reply instead of pages
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 18 May 2009 21:47:56 +0000 (17:47 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 7 Apr 2011 18:36:40 +0000 (14:36 -0400)
commit586c52cc61b5b84c70102208b78269ef5924bf49
treec218a2ab64877297dd530c9997e4bbfb6a12577a
parentcc6c2127f2316c2b2ad1e8919b45cde5e03f65aa
svcrpc: copy cb reply instead of pages

It's much simpler just to copy the cb reply data than to play tricks
with pages.  Callback replies will typically be very small (at least
until we implement cb_getattr, in which case files with very long ACLs
could pose a problem), so there's no loss in efficiency.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c