From 3491f6d119d1f4c7e0a259a9993ce96783b77e23 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 8 Apr 2010 21:24:23 -0700 Subject: Simplify call_trans2qfilepathinfo() and smbd_do_qfilepathinfo() Remove the bool ms_dfs_link parameter from smbd_do_qfilepathinfo. It is not possible for this to be a DFS link. Remove the check_msdfs_link() call from call_trans2qfilepathinfo() - the call to filename_convert() above with a ucf_flags of zero *MUST* catch a DFS link and return NT_STATUS_PATH_NOT_COVERED in this case, so the code below checking for msdfs links is redundent. Don't add this to 3.5.x, as it's an optimization but not needed to fix bug #7339 - MSDFS is non-functional in 3.5.x. Jeremy. --- source3/smbd/globals.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source3/smbd/globals.h') diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index f9fd71ed75..033a77783a 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -187,7 +187,6 @@ NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn, struct smb_filename *smb_fname, bool delete_pending, struct timespec write_time_ts, - bool ms_dfs_link, struct ea_list *ea_list, int lock_data_count, char *lock_data, -- cgit