Skip to content
  • Tigran Mkrtchyan's avatar
    nfs42: fix NFSERR_BAD_STATEID for server side copy with locks · cd924aaa
    Tigran Mkrtchyan authored
    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
    cd924aaa