diff options
author | Ira Cooper <ira@samba.org> | 2013-02-06 13:35:25 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-02-08 21:44:37 +0100 |
commit | 233b32b771188a6b9ee730a2a202023370e80746 (patch) | |
tree | 557443a4d082cb0e30b56451bf4b0958710e3043 /source3/smbd/smb2_getinfo.c | |
parent | beb6c13e9a8c317bca240e875d9e3bcd940a02fb (diff) | |
download | samba-233b32b771188a6b9ee730a2a202023370e80746.tar.gz samba-233b32b771188a6b9ee730a2a202023370e80746.tar.bz2 samba-233b32b771188a6b9ee730a2a202023370e80746.zip |
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
Diffstat (limited to 'source3/smbd/smb2_getinfo.c')
-rw-r--r-- | source3/smbd/smb2_getinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smb2_getinfo.c b/source3/smbd/smb2_getinfo.c index 33cee9910c..5616c849ad 100644 --- a/source3/smbd/smb2_getinfo.c +++ b/source3/smbd/smb2_getinfo.c @@ -413,6 +413,7 @@ static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx, file_info_level, STR_UNICODE, in_output_buffer_length, + fsp->fsp_name, &data, &data_size); if (!NT_STATUS_IS_OK(status)) { |