@@ -250,7 +250,7 @@ prototypes::
250250 sector_t (*bmap)(struct address_space *, sector_t);
251251 void (*invalidate_folio) (struct folio *, size_t start, size_t len);
252252 bool (*release_folio)(struct folio *, gfp_t);
253- void (*freepage )(struct page *);
253+ void (*free_folio )(struct folio *);
254254 int (*direct_IO)(struct kiocb *, struct iov_iter *iter);
255255 bool (*isolate_page) (struct page *, isolate_mode_t);
256256 int (*migratepage)(struct address_space *, struct page *, struct page *);
@@ -262,10 +262,10 @@ prototypes::
262262 int (*swap_deactivate)(struct file *);
263263
264264locking rules:
265- All except dirty_folio and freepage may block
265+ All except dirty_folio and free_folio may block
266266
267267====================== ======================== ========= ===============
268- ops PageLocked(page) i_rwsem invalidate_lock
268+ ops folio locked i_rwsem invalidate_lock
269269====================== ======================== ========= ===============
270270writepage: yes, unlocks (see below)
271271read_folio: yes, unlocks shared
@@ -277,7 +277,7 @@ write_end: yes, unlocks exclusive
277277bmap:
278278invalidate_folio: yes exclusive
279279release_folio: yes
280- freepage : yes
280+ free_folio : yes
281281direct_IO:
282282isolate_page: yes
283283migratepage: yes (both)
@@ -377,7 +377,7 @@ buffers from the folio in preparation for freeing it. It returns false to
377377indicate that the buffers are (or may be) freeable. If ->release_folio is
378378NULL, the kernel assumes that the fs has no private interest in the buffers.
379379
380- ->freepage () is called when the kernel is done dropping the page
380+ ->free_folio () is called when the kernel has dropped the folio
381381from the page cache.
382382
383383->launder_folio() may be called prior to releasing a folio if
0 commit comments