Skip to content
Commit 6e7f90d1 authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Chuck Lever
Browse files

lockd: fix server crash on reboot of client holding lock



I thought I was iterating over the array when actually the iteration is
over the values contained in the array?

Ugh, keep it simple.

Symptoms were a null deference in vfs_lock_file() when an NFSv3 client
that previously held a lock came back up and sent a notify.

Reported-by: default avatarJonathan Woithe <jwoithe@just42.net>
Fixes: 7f024fcd ("Keep read and write fds with each nlm_file")
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 16720861
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