Created attachment 16995 [details] Stack backtrace Using get_file_handle_for_metadata() in set_ea_dos_attribute() may trigger the "attempt to lock two sharemode simultaneously" assert in get_share_mode_lock(). We already have a pathref handle, use that one, no need to call get_file_handle_for_metadata(). Have patch, need bugnumber.
This bug was referenced in samba master: a8c0c2c9e3adc94843a236fd9374980e2c0e6bfe
Created attachment 16999 [details] git-am fix for 4.15.next. Cherry-pick from master.
Reassigning to Jule for inclusion in 4.15.
Pushed to autobuild-v4-15-test.
This bug was referenced in samba v4-15-test: 6aae2575b389fb475f70a8fc221e3e685b220ed6
Closing out bug report. Thanks!
This bug was referenced in samba v4-15-stable (Release samba-4.15.3): 6aae2575b389fb475f70a8fc221e3e685b220ed6