nfsd4: replace defer_free by svcxdr_tmpalloc
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 24 Jun 2014 21:43:45 +0000 (17:43 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 8 Jul 2014 21:14:27 +0000 (17:14 -0400)
commitd5e2338324102dcf34aa25aeaf96064cc4d94dce
tree637478358b86076a8411e4de66a2271c1ac11487
parentbcaab953b1d3790c724a211f2452b574fd49a7ce
nfsd4: replace defer_free by svcxdr_tmpalloc

Avoid an extra allocation for the tmpbuf struct itself, and stop
ignoring some allocation failures.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h