diff options
author | Mark Johnston <[email protected]> | 2020-09-22 19:05:52 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-10-01 12:16:33 -0700 |
commit | e651a5b2336c44b0ca52d119b0ebccc2737a05a6 (patch) | |
tree | e74873e2027ee760797b50cb3467789252064799 /contrib/initramfs | |
parent | 723726ae7de44829d1515e757db7527737702e9a (diff) |
Fix a logic bug in the FreeBSD getpages VOP
In commit cd32b4f5b79c ("Fix a deadlock in the FreeBSD getpages VOP") I
introduced a bug while porting the patch originally committed to
FreeBSD: the rangelock pointer may be NULL if the try operation failed,
so we must avoid calling zfs_rangelock_unlock() in that case.
Reviewed-by: Allan Jude <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Matt Macy <[email protected]>
Reported-by: Steve Wills <[email protected]>
Signed-off-by: Mark Johnston <[email protected]>
Closes #10519
Closes #10960
Diffstat (limited to 'contrib/initramfs')
0 files changed, 0 insertions, 0 deletions