git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
331a0e8
)
s3:smbd: allow status code in smbd_do_qfsinfo() to be set by information class handler
author
Ralph Wuerthner
<ralph.wuerthner@de.ibm.com>
Fri, 5 Jul 2013 09:32:27 +0000
(11:32 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Fri, 6 Sep 2013 08:49:49 +0000
(10:49 +0200)
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
(cherry picked from commit
616777f029e462f53c5118d79de8c6405a5fb7c1
)
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index ccce7b8b7da04ff4b3fa4470ba3bfeafe0c3e1dc..20d42f7ea254abee0c03dd01528be76de6db24d5 100644
(file)
--- 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
;
}
/****************************************************************************