/* Please add a note about your changes to smbfs in the ChangeLog file. Force the next attempt to use the cache to be a timeout. If we can't find the page that's fine, it will cause a refresh.  */
void smb_invalid_dir_cache(struct inode *dir)
/* Please add a note about your changes to smbfs in the ChangeLog file. Force the next attempt to use the cache to be a timeout. If we can't find the page that's fine, it will cause a refresh.  */
void smb_invalid_dir_cache(struct inode *dir)
{
	struct smb_sb_info *server = server_from_inode(dir);
	union  smb_dir_cache *cache = NULL;
	struct page *page = NULL;
	page = grab_cache_page(&dir->i_data, 0);
	if (!page)
		goto out;
	if (!PageUptodate(page))
		goto out_unlock;
	cache = kmap(page);
	cache->head.time = jiffies - SMB_MAX_AGE(server);
	kunmap(page);
	SetPageUptodate(page);
out_unlock:
	unlock_page(page);
	page_cache_release(page);
out:
	return;
}