History

fs: Remove last vestiges of releasepage

All users are now converted to release_folio

Matthew Wilcox (Oracle) committed 4 years ago

Commit 704ead21 parent bcaabc53 files · +1 −4Browse files

Showing the changes to include (2 of 3 files). Show all

Unified · Split

2 files
  1. include/linux/fs.h +0 −1
  2. include/linux/page-flags.h +1 −1
include/linux/fs.h+0−1
@@ -356,7 +356,6 @@ struct address_space_operations { · 355 unmodified lines
356 sector_t (*bmap)(struct address_space *, sector_t);356 sector_t (*bmap)(struct address_space *, sector_t);
357 void (*invalidate_folio) (struct folio *, size_t offset, size_t len);357 void (*invalidate_folio) (struct folio *, size_t offset, size_t len);
358 bool (*release_folio)(struct folio *, gfp_t);358 bool (*release_folio)(struct folio *, gfp_t);
359 int (*releasepage) (struct page *, gfp_t);
360 void (*freepage)(struct page *);359 void (*freepage)(struct page *);
361 ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter);360 ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter);
362 /*361 /*
include/linux/page-flags.h+1−1
@@ -516,7 +516,7 @@ PAGEFLAG(SwapBacked, swapbacked, PF_NO_TAIL) · 515 unmodified lines
516/*516/*
517 * Private page markings that may be used by the filesystem that owns the page517 * Private page markings that may be used by the filesystem that owns the page
518 * for its own purposes.518 * for its own purposes.
519 * - PG_private and PG_private_2 cause releasepage() and co to be invoked519 * - PG_private and PG_private_2 cause release_folio() and co to be invoked
520 */520 */
521PAGEFLAG(Private, private, PF_ANY)521PAGEFLAG(Private, private, PF_ANY)
522PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY)522PAGEFLAG(Private2, private_2, PF_ANY) TESTSCFLAG(Private2, private_2, PF_ANY)