We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7577d3 commit 902c990Copy full SHA for 902c990
mm/internal.h
@@ -175,7 +175,7 @@ static inline void set_page_refcounted(struct page *page)
175
*/
176
static inline bool folio_needs_release(struct folio *folio)
177
{
178
- struct address_space *mapping = folio->mapping;
+ struct address_space *mapping = folio_mapping(folio);
179
180
return folio_has_private(folio) ||
181
(mapping && mapping_release_always(mapping));
0 commit comments