git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a91d2b0
)
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
Jeremy Allison
<jra@samba.org>
Mon, 5 Aug 2013 23:46:06 +0000
(16:46 -0700)
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index f7691044a1ac0145c4d2a29df5dd02c9274f7149..76176620800e2fcd06840e7f4ba87a1c77c7740d 100644
(file)
--- 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
;
}
/****************************************************************************