diff options
| author | J. Bruce Fields <[email protected]> | 2021-02-24 13:39:50 -0500 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2021-03-06 16:41:48 -0500 |
| commit | bfdd89f232aa2de5a4b3fc985cba894148b830a8 (patch) | |
| tree | 47e50128eed0e3563cdcda3394568d6c8e33174a /lib/test_fortify/write_overflow-strscpy.c | |
| parent | 7005227369079963d25fb2d5d736d0feb2c44cf6 (diff) | |
nfsd: don't abort copies early
The typical result of the backwards comparison here is that the source
server in a server-to-server copy will return BAD_STATEID within a few
seconds of the copy starting, instead of giving the copy a full lease
period, so the copy_file_range() call will end up unnecessarily
returning a short read.
Fixes: 624322f1adc5 "NFSD add COPY_NOTIFY operation"
Signed-off-by: J. Bruce Fields <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions