commit | 9c6376ebddad585da4238532dd6d90ae23ffee67 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Mar 07 14:49:06 2018 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Mar 08 12:56:31 2018 -0500 |
tree | a69494f605f82c0cb19dc8dc63fc65832c6b60dd | |
parent | d9ee65539d3eabd9ade46cca1780e3309ad0f907 [diff] |
pNFS: Prevent the layout header refcount going to zero in pnfs_roc() 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>