diff options
author | J. Bruce Fields <bfields@redhat.com> | 2022-01-18 17:00:16 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-01-18 17:07:48 -0500 |
commit | 6e7f90d163afa8fc2efd6ae318e7c20156a5621f (patch) | |
tree | 64a68ce96fc5a09496ae50fd6e02f526393bd8f2 /lib/audit.c | |
parent | 16720861675393a35974532b3c837d9fd7bfe08c (diff) | |
download | linux-6e7f90d163afa8fc2efd6ae318e7c20156a5621f.tar.bz2 |
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: Jonathan Woithe <jwoithe@just42.net>
Fixes: 7f024fcd5c97 ("Keep read and write fds with each nlm_file")
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions