Commit c16eb000 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Linus Torvalds
Browse files

mm/filemap.c: remove useless check in pagecache_get_page()

parent 144552ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1601,7 +1601,7 @@ repeat:
		VM_BUG_ON_PAGE(page->index != offset, page);
	}

	if (page && (fgp_flags & FGP_ACCESSED))
	if (fgp_flags & FGP_ACCESSED)
		mark_page_accessed(page);

no_page: