Skip to content
Commit 9c6376eb authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org # v4.10+
Tested-by: default avatarTigran Mkrtchyan <tigran.mkrtchyan@desy.de>
parent d9ee6553
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment