]> git.baikalelectronics.ru Git - kernel.git/commit
cifsd: fix xfstests generic/504 test failure
authorNamjae Jeon <namjae.jeon@samsung.com>
Fri, 14 May 2021 03:20:07 +0000 (12:20 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Fri, 14 May 2021 03:28:36 +0000 (12:28 +0900)
commitd405e8d3508bf298c8e43948615334d602cb5a97
treeaf9bcb61e08ce014d144b1d643fb36893034416a
parentf186002d6fed37717f6ee537a15497beacc45ec3
cifsd: fix xfstests generic/504 test failure

If lock length in smb2 lock request from client is over
flock max length size, lock length is changed to flock max length
and don't return error response.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/smb2pdu.c