diff options
author | Ralph Wuerthner <ralph.wuerthner@de.ibm.com> | 2013-07-05 11:32:27 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2013-09-06 10:49:49 +0200 |
commit | a410c51fca3644ebf7a32512dc1075a23bfc8d38 (patch) | |
tree | 202be5a962187a8a2ce2fcfd1ce1e57c89c7c425 | |
parent | 331a0e8e85727724466d7a795435b8eca36b3e17 (diff) | |
download | samba-a410c51fca3644ebf7a32512dc1075a23bfc8d38.tar.gz |
s3:smbd: allow status code in smbd_do_qfsinfo() to be set by information class handler
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
(cherry picked from commit 616777f029e462f53c5118d79de8c6405a5fb7c1)
-rw-r--r-- | source3/smbd/trans2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index ccce7b8b7da..20d42f7ea25 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2984,6 +2984,7 @@ NTSTATUS smbd_do_qfsinfo(connection_struct *conn, uint32 additional_flags = 0; struct smb_filename smb_fname; SMB_STRUCT_STAT st; + NTSTATUS status = NT_STATUS_OK; if (fname == NULL || fname->base_name == NULL) { filename = "."; @@ -3526,7 +3527,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned } *ret_data_len = data_len; - return NT_STATUS_OK; + return status; } /**************************************************************************** |