Commit cd924aaa authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

nfs42: fix NFSERR_BAD_STATEID for server side copy with locks

Motivation:
As COPY operation can be called on files when locks are held, then
instead of open state ids the COPY will be called with lock state ids.

Modification:
Update COPY operation to use open state ids when file open modes are
checked.

Result:
passing NFS compatibility tests.

Acked-by: Lea Morschel
Target: master, 0.23
parent d53c02ea
Pipeline #26384 passed with stage
in 1 minute and 37 seconds