[PATCH 6.14 663/783] cifs: Fix and improve cifs_query_path_info() and cifs_query_file_info()