Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/aquarela-query-file-info-dir/readme
TRANS2_QUERY_FILE_INFORMATION didn't work on directories, as dir's dont have an open plan9 filedescriptor in ther SmbFile structure. We now check for it and do a normal dirstat() instead. This patch allows renaming directories from windows explorer.