pNFS: Sync the layout state bits in pnfs_cache_lseg_for_layoutreturn
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Nov 2016 15:47:48 +0000 (10:47 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:21:49 +0000 (17:21 -0500)
commit4aab97327f35aac17b7f62976ea44b1bacfaa92b
tree840eaf04aa74e218b557b34dbd8c8df451083e84
parent24408f5282df58210cfecaa6851b2be52f5c661f
pNFS: Sync the layout state bits in pnfs_cache_lseg_for_layoutreturn

Ensure that the layout state bits are synced when we cache a layout
segment for layoutreturn using an appropriate call to
pnfs_set_plh_return_info.

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