summaryrefslogtreecommitdiff
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2018-03-07 14:49:06 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-15 10:57:00 +0100
commit0fa7083df3994b0bbc748240f6044d6561d30e7f (patch)
tree48ef1e63562f53a8c9787633ed7838b9cedad869 /fs/nfs/write.c
parentff32fd5e2dce7d7e8ae90735bd5a387224811272 (diff)
pNFS: Prevent the layout header refcount going to zero in pnfs_roc()
commit 9c6376ebddad585da4238532dd6d90ae23ffee67 upstream. Ensure that we hold a reference to the layout header when processing the pNFS return-on-close so that the refcount value does not inadvertently go to zero. Reported-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Cc: stable@vger.kernel.org # v4.10+ Tested-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions