nfs: pass on count for CLONE operations
authorChristoph Hellwig <hch@lst.de>
Fri, 13 Nov 2015 08:38:45 +0000 (09:38 +0100)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 24 Nov 2015 02:52:22 +0000 (21:52 -0500)
commit9494b2ce4b511e6d285afc0a5006b6cf5ea2b115
tree104ff6e9a6330a6669ca64c78a0362b01d812d2e
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4
nfs: pass on count for CLONE operations

Currently we pass uninitialized stack garbage in the count parameter.
The value is usually large enought to clone whole files and thus let
simple tests pass, but it makes the tests for range clones very unhappy.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs42proc.c