]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/internal.h
mm/fremap.c: fix possible oops on error path
[karo-tx-linux.git] / mm / internal.h
index 1c0c4cc0fcf7b1aaa22d97313e573fd14ecc4ba6..8562de0a5197d31e3621d10db8b0c01d23f44f83 100644 (file)
@@ -195,7 +195,7 @@ static inline int mlocked_vma_newpage(struct vm_area_struct *vma,
  * must be called with vma's mmap_sem held for read or write, and page locked.
  */
 extern void mlock_vma_page(struct page *page);
-extern void munlock_vma_page(struct page *page);
+extern unsigned int munlock_vma_page(struct page *page);
 
 /*
  * Clear the page's PageMlocked().  This can be useful in a situation where