Found by Volker. "schedule_aio_smb2_write can return NT_STATUS_FILE_LOCK_CONFLICT. This is a valid error code that smb2.lock.rw-shared expects and checks for. The code before this patch maps this to NT_STATUS_FILE_CLOSED, masking the real, correct error message." Patch that went into master attached. Jeremy.
Created attachment 7703 [details] git-am patch for 3.6.next. Patch that went into master.
Comment on attachment 7703 [details] git-am patch for 3.6.next. Forgot Ira is off next week :-).
Comment on attachment 7703 [details] git-am patch for 3.6.next. LGTM.
Re-assigning to Karolin for inclusion in 3.6.next. Jeremy.
Pushed to v3-6-test. Closing out bug report. Thanks!