diff options
author | Tim Prouty <tprouty@samba.org> | 2009-07-21 13:57:56 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-07-22 09:51:17 -0700 |
commit | 4b42927ec31a0819b1e5ec415fd1a16061cff677 (patch) | |
tree | 7ecbd49439248ef8a91855761e8d053c1a7463de /source3/smbd/smb2_getinfo.c | |
parent | 84eced142551a1986ba727d4c57aed1296ac87b4 (diff) | |
download | samba-4b42927ec31a0819b1e5ec415fd1a16061cff677.tar.gz samba-4b42927ec31a0819b1e5ec415fd1a16061cff677.tar.bz2 samba-4b42927ec31a0819b1e5ec415fd1a16061cff677.zip |
s3: Convert some callers of vfs_stat_smb_fname to SMB_VFS_STAT()
Diffstat (limited to 'source3/smbd/smb2_getinfo.c')
-rw-r--r-- | source3/smbd/smb2_getinfo.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/smbd/smb2_getinfo.c b/source3/smbd/smb2_getinfo.c index dda79c209f..5a6e3d7ecb 100644 --- a/source3/smbd/smb2_getinfo.c +++ b/source3/smbd/smb2_getinfo.c @@ -367,22 +367,12 @@ static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx, char *data = NULL; int data_size = 0; NTSTATUS status; - SMB_STRUCT_STAT st; /* the levels directly map to the passthru levels */ file_info_level = in_file_info_class + 1000; - if (vfs_stat_smb_fname(conn,".",&st)!=0) { - DEBUG(2,("call_trans2qfsinfo: stat of . failed (%s)\n", - strerror(errno))); - status = map_nt_error_from_unix(errno); - tevent_req_nterror(req, status); - return tevent_req_post(req, ev); - } - status = smbd_do_qfsinfo(conn, state, file_info_level, - st, STR_UNICODE, in_output_buffer_length, &data, |