summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Wuerthner <ralph.wuerthner@de.ibm.com>2013-07-05 11:32:27 +0200
committerJeremy Allison <jra@samba.org>2013-08-05 16:46:06 -0700
commit616777f029e462f53c5118d79de8c6405a5fb7c1 (patch)
tree3d4b8de8e7a8c54fa6dbbbaf2deb55df13b9f8b9
parenta91d2b05bab329a8a9772c2c79a3b1e02933182e (diff)
downloadsamba-616777f029e462f53c5118d79de8c6405a5fb7c1.tar.gz
samba-616777f029e462f53c5118d79de8c6405a5fb7c1.tar.bz2
samba-616777f029e462f53c5118d79de8c6405a5fb7c1.zip
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>
-rw-r--r--source3/smbd/trans2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index f7691044a1..7617662080 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -3132,6 +3132,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 = ".";
@@ -3667,7 +3668,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned
}
*ret_data_len = data_len;
- return NT_STATUS_OK;
+ return status;
}
/****************************************************************************