]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 14 Nov 2016 19:34:18 +0000 (14:34 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:21:39 +0000 (17:21 -0500)
commitae5a459d5f65c3e83f3e14068dde5fb9c9d81807
tree792fbea67b4d3b278587907fc0066fa165b03228
parent7b650994ab07434ae58a247dc9ac87d2488ca75c
pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid

We must ensure that we don't schedule a layoutreturn if the layout stateid
has been marked as invalid.

Fixes: 2a59a0411671e ("pNFS: Fix pnfs_set_layout_stateid() to clear...")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org # v4.8+
fs/nfs/pnfs.c