Skip to content
Commit b8db1592 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

lockd: fix decoding of TEST results



We fail to advance the read pointer when reading the stat.oh field that
identifies the lock-holder in a TEST result.

This turns out not to matter if the server is knfsd, which always
returns a zero-length field.  But other servers (Ganesha is an example)
may not do this.  The result is bad values in fcntl F_GETLK results.

Fix this.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 0d4d6720
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