]> git.baikalelectronics.ru Git - kernel.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)
commit3ab3cf85b0a65855f14b6e0a1f2482a575f93e51
treea1a5b4c1124d23eb5c0dccf58c4e532548fd230d
parent58f89f4920754ec2043edf25c79591dc309e8d4d
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