/* Release all locks held by clients accessing this host via the passed in IP address.  */
int nlmsvc_unlock_all_by_ip(struct sockaddr *server_addr)
/* Release all locks held by clients accessing this host via the passed in IP address.  */
int nlmsvc_unlock_all_by_ip(struct sockaddr *server_addr)
{
	int ret;
	ret = nlm_traverse_files(server_addr, nlmsvc_match_ip, NULL);
	return ret ? -EIO : 0;
}