There are a set of issues with vfs_dirsort that I want to clean up. From using malloc instead of talloc, to using non-stackable calls, dirfd() on what should be an opaque pointer and various cleanup in error conditions. Patch for 4.0.x and master to follow. Jeremy.
Created attachment 8743 [details] git-am fix for master and 4.0.next.
Created attachment 8761 [details] git-am patchset for 4.0.next This is the fix that got added to master (contains master git refs).
Re-assigning to Karolin for inclusion in 4.0.next. Andreas (asn@samba.org) already reviewed this patch for master (although I'm adding him so he can +1 again on the bug if he wants). Jeremy.
Comment on attachment 8761 [details] git-am patchset for 4.0.next Andreas, this is exactly the patch you reviewed for master.
Comment on attachment 8761 [details] git-am patchset for 4.0.next LGTM
Karolin, please add to v4-0-test. Thanks.
Pushed to autobuild-v4-0-test.
Pushed to v4-0-test. Closing out bug report. Thanks!
Created attachment 8962 [details] v3-6-test patch Jermey, don't we want to have this fixed in 3.6 too?
Created attachment 8963 [details] v3-6-test patch
Comment on attachment 8963 [details] v3-6-test patch LGTM.
Re-assigning to Karolin for inclusion in 3.6.next. Jeremy.
(In reply to comment #12) > Re-assigning to Karolin for inclusion in 3.6.next. > Jeremy. Too late for 3.6.16, will be inlcuded in 3.6.17.
Pushed to v3-6-test. Closing out bug report. Thanks!