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)
commit3716dbe3368e7ca11fb1d556de9c03c9ae7c0e45
tree16c4a56dedb1d8f929713268019333b999737beb
parent9c9558ec768cc6737420a3f8b1e6ec63b5377b9f
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