Skip to content
Commit ea0ded74 authored by Fred Isaman's avatar Fred Isaman Committed by Trond Myklebust
Browse files

nfs4.1: prevent race that allowed use of freed layout in _pnfs_return_layout



mark_matching_lsegs_invalid could put the last ref to the layout, so
the get_layout_hdr needs to be called first.

Signed-off-by: default avatarFred Isaman <iisaman@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 1ed3a853
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment