]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff7e6f297d6c05fa67047c86b0d42152132bc957
tree104ff6e9a6330a6669ca64c78a0362b01d812d2e
parentdb40e31ebbf3ef7dc8769277dd7bd9cc45daf866
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