NFSv4.1: Ensure that we free existing layout segments if we get a new layout
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Feb 2014 15:02:27 +0000 (10:02 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Feb 2014 02:21:06 +0000 (21:21 -0500)
commit78096ccac561ce2d89fbff1d1aa451bf4090a1a2
tree16c4a56dedb1d8f929713268019333b999737beb
parent9a7fe9e8900baad5f6643000ea48b91aee895165
NFSv4.1: Ensure that we free existing layout segments if we get a new layout

If the server returns a completely new layout stateid in response to our
LAYOUTGET, then make sure to free any existing layout segments.

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