On Fri, Mar 15, 2013 at 1:50 AM, Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> wrote: > + if (PageTransHuge(page)) { > + int i; > + > + for (i = 0; i < HPAGE_CACHE_NR; i++) > + radix_tree_delete(&mapping->page_tree, page->index + i); Move the below page_cache_release for tail page here, please. > + nr = HPAGE_CACHE_NR; [...] > + if (PageTransHuge(page)) > + for (i = 1; i < HPAGE_CACHE_NR; i++) > + page_cache_release(page + i); > page_cache_release(page); -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html