diff options
author | J. Bruce Fields <bfields@redhat.com> | 2018-11-26 11:36:52 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-11-27 16:24:01 -0500 |
commit | b8db159239b3f51e2b909859935cc25cb3ff3eed (patch) | |
tree | afa91aa9e59d697f6129c45c2a0b0372fcb3911d /.clang-format | |
parent | 0d4d6720ce9ac0d393aa35696520fde48b2064a5 (diff) | |
download | linux-b8db159239b3f51e2b909859935cc25cb3ff3eed.tar.bz2 |
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: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions