pNFS: Clear all layout segment state in pnfs_mark_layout_stateid_invalid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Nov 2016 17:32:55 +0000 (12:32 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:21:48 +0000 (17:21 -0500)
commitfe1cf9469d7bcb6af27e42eb555a41b0135bce4a
tree5bb2476f94146a46e500aa06875587a2096c235f
parent53e6fc86abbbd7338f16267846a58de7ee24e839
pNFS: Clear all layout segment state in pnfs_mark_layout_stateid_invalid

When the layout state is invalidated, then so is the layout segment
state, and hence we do need to clean up the state bits.

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