X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Ffilemap_xip.c;h=380ab402d71160a05d82a00598e5e35efeb5f116;hb=9ea319b61613085f501a79cf8d405cb221d084f3;hp=3e744abcce9daa8aada1487bd42e31b769c414bf;hpb=cfd299dffe6f47c04c47b95893708cdc65876fbd;p=linux-2.6 diff --git a/mm/filemap_xip.c b/mm/filemap_xip.c index 3e744abcce..380ab402d7 100644 --- a/mm/filemap_xip.c +++ b/mm/filemap_xip.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -188,7 +189,7 @@ __xip_unmap (struct address_space * mapping, if (pte) { /* Nuke the page table entry. */ flush_cache_page(vma, address, pte_pfn(*pte)); - pteval = ptep_clear_flush(vma, address, pte); + pteval = ptep_clear_flush_notify(vma, address, pte); page_remove_rmap(page, vma); dec_mm_counter(mm, file_rss); BUG_ON(pte_dirty(pteval)); @@ -380,7 +381,7 @@ xip_file_write(struct file *filp, const char __user *buf, size_t len, if (count == 0) goto out_backing; - ret = remove_suid(filp->f_path.dentry); + ret = file_remove_suid(filp); if (ret) goto out_backing;