OSDN Git Service

NFSv4.1: Always set the layout stateid if this is the first layoutget
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Oct 2012 23:38:41 +0000 (16:38 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Oct 2012 23:38:41 +0000 (16:38 -0700)
commit038d6493763d900797dfeb555502d3b0d8103fba
tree231a9641f80937a90a5616dc6a3143563b507076
parent251ec410c495cb93c7ae2cb4beda29205d9bd35f
NFSv4.1: Always set the layout stateid if this is the first layoutget

If the list of layout segments is empty, we must unconditionally set
the layout stateid.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c