[PATCH 4/8] server: Use common implementation for client and server get_file_info.