https://bugs.winehq.org/show_bug.cgi?id=47445
--- Comment #5 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Created attachment 64871 --> https://bugs.winehq.org/attachment.cgi?id=64871 Define AT_NO_AUTOMOUNT if needed.
Looks like old kernel headers don't define this flag. Try this patch, it should fix it.