** This bug was found by code analysis, no reproduction attempted vfs_commit has an "eof mode" parameter (commit:eof mode=none/hinted/growth). The default is none (meaning that "commits" are done at configured intervals only). When set to "hinted", an additional commit should be done when the number of bytes written first reaches the original file size. When set to "growth", an additional commit is done whenever the file grows. In practice, setting this flag to anything but "none" causes all file opens in the share to fail, because an fstat with an uninitialized file descripter is attempted.
Created attachment 11484 [details] git-am fix for 4.3.next and 4.2.next
Comment on attachment 11484 [details] git-am fix for 4.3.next and 4.2.next LGTM.
Re-assigning to Karolin for inclusion in 4.3.next, 4.2.next.
(In reply to Jeremy Allison from comment #3) Pushed to autobuild-v4-[2|3]-test.
(In reply to Karolin Seeger from comment #4) Pushed to both branches. Closing out bug report. Thanks!