]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfsd: fput rd_file from XDR encode context
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Jun 2015 14:45:01 +0000 (16:45 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 22 Jun 2015 18:15:04 +0000 (14:15 -0400)
commit96bcad506457cfa0c26680446eedefb616c6b079
treea1a5b4c1124d23eb5c0dccf58c4e532548fd230d
parentaf90f707fa6d54dbb725c4b919c976cd23cd07f2
nfsd: fput rd_file from XDR encode context

Remove the hack where we fput the read-specific file in generic code.
Instead we can do it in nfsd4_encode_read as that gets called for all
error cases as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c