[PATCH AUTOSEL 6.6 11/12] cifs: Fix and improve cifs_query_path_info() and cifs_query_file_info()