s3: Make SMB2_GETINFO multi-volume aware.
authorIra Cooper <ira@samba.org>
Fri, 8 Feb 2013 22:47:57 +0000 (14:47 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 Mar 2013 09:51:41 +0000 (10:51 +0100)
commitd7b8f69cf2ec912e9675f98ef11c98c6a7ce465a
tree69bda67eccefeba52fe3b087f27e5d67be037816
parentf034f96e11d0bf66c7756af81ec21f68732fe442
s3: Make SMB2_GETINFO multi-volume aware.

Not all shares are a single volume.  Some actually
expose multiple volumes under a single share.  In these
cases showing the amount of space free as the space free
at the base of the directory heirarchy is wrong.

Reviewed-by: Jeremy Allison <jra@samba.org>
Fix bug #9646 - dir and similar commands are returning the wrong amount of free
space.
(cherry picked from commit 872a7d61ca769c47890244a1005c1bd445a3bab6)
source3/smbd/globals.h
source3/smbd/smb2_getinfo.c
source3/smbd/trans2.c