diff --git a/mm/filemap.c b/mm/filemap.c index b4ad8e36c81a857c2a4fb392da9feb7c483cf641..83a45d35468b961340fb19a958eee77d0e2e2297 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -2227,7 +2227,7 @@ struct page *grab_cache_page_write_begin(struct address_space *mapping, gfp_notmask = __GFP_FS; repeat: page = find_lock_page(mapping, index); - if (likely(page)) + if (page) return page; page = __page_cache_alloc(mapping_gfp_mask(mapping) & ~gfp_notmask);