commit | e739b12042b6b079a397a3c234f96c09d1de0b40 | [log] [tgz] |
---|---|---|
author | Olga Kornievskaia <kolga@netapp.com> | Tue Mar 30 15:03:59 2021 -0400 |
committer | Chuck Lever <chuck.lever@oracle.com> | Thu Apr 01 09:36:31 2021 -0400 |
tree | b8885ec9c361ec8e3e19adabe41bd02afe11e188 | |
parent | c0a744dcaa29e9537e8607ae9c965ad936124a4d [diff] |
NFSv4.2: fix copy stateid copying for the async copy This patch fixes Dan Carpenter's report that the static checker found a problem where memcpy() was copying into too small of a buffer. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: e0639dc5805a ("NFSD introduce async copy feature") Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Dai Ngo <dai.ngo@oracle.com>