In a Windows command shell, when typing "dir" on an SMB2 shared folder, the printed disk usage is relative to the directory being listed (meaning that the SMB2 query is made relative to the folder and not to the share's root). This has significance in the following cases: A. if a Windows server uses folder quotas B. if any server has a different file system mounted on a subfolder of the share C. for a Samba server - if the "dfree command" is being used for some custom calculation, the folder is passed on to the script. AFAICT this is a feature of the SMB2 protocol, not available in SMB1 protocol. smbclient always queries the share's root folder, even when using SMB2.
Created attachment 11758 [details] git-am fix for 4.3.next
Comment on attachment 11758 [details] git-am fix for 4.3.next LGTM.
Re-assigning to Karolin for inclusion in 4.3.next.
Pushed to autobuild-v4-3-test.
(In reply to Karolin Seeger from comment #4) Pushed to v4-3-test. Closing out bug report. Thanks!