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>
Tue, 12 Feb 2013 20:17:17 +0000 (21:17 +0100)
commit872a7d61ca769c47890244a1005c1bd445a3bab6
tree4521b610bc5f4b6f3a5bc5511053ba4d3b277d31
parente5b4ac7978213acf7517b6852f7750e41cad787a
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.
source3/smbd/globals.h
source3/smbd/smb2_getinfo.c
source3/smbd/trans2.c