nfs41: Correct offset for LAYOUTCOMMIT
authorVitaliy Gusev <gusev.vitaliy@gmail.com>
Thu, 19 May 2011 21:34:46 +0000 (01:34 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 May 2011 21:42:01 +0000 (17:42 -0400)
A client sends offset to MDS as it was seen by DS. As result,
file size after copy is only half of original file size in case
of 2 DS.

Signed-off-by: Vitaliy Gusev <gusev.vitaliy@nexenta.com>
Cc: stable@kernel.org [2.6.39]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c

diff --cc fs/nfs/pnfs.c
Simple merge