diff options
author | 2018-11-26 11:36:52 -0500 | |
---|---|---|
committer | 2018-11-27 16:24:01 -0500 | |
commit | b8db159239b3f51e2b909859935cc25cb3ff3eed (patch) | |
tree | afa91aa9e59d697f6129c45c2a0b0372fcb3911d /drivers/platform | |
parent | nfsd4: skip unused assignment (diff) | |
download | linux-dev-b8db159239b3f51e2b909859935cc25cb3ff3eed.tar.xz linux-dev-b8db159239b3f51e2b909859935cc25cb3ff3eed.zip |
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 'drivers/platform')
0 files changed, 0 insertions, 0 deletions