s3: Make SMB2_GETINFO multi-volume aware.
authorIra Cooper <ira@samba.org>
Wed, 6 Feb 2013 13:35:25 +0000 (13:35 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 8 Feb 2013 20:44:37 +0000 (21:44 +0100)
commit233b32b771188a6b9ee730a2a202023370e80746
tree557443a4d082cb0e30b56451bf4b0958710e3043
parentbeb6c13e9a8c317bca240e875d9e3bcd940a02fb
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>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Feb  8 21:44:37 CET 2013 on sn-devel-104
source3/smbd/globals.h
source3/smbd/smb2_getinfo.c
source3/smbd/trans2.c