diff options
| author | Linus Torvalds <[email protected]> | 2024-11-18 17:54:32 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2024-11-18 17:54:32 +0000 |
| commit | 56be9aaf98d58bf69e2c948c183001d77e63fbbb (patch) | |
| tree | e2c40fe614af0b1ae71222a9159364980f62a78a /mm/truncate.c | |
| parent | Merge tag 'vfs-6.13.rust.file' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
| parent | Merge patch series "Filesystem page flags cleanup" (diff) | |
| download | kernel-56be9aaf98d58bf69e2c948c183001d77e63fbbb.tar.gz kernel-56be9aaf98d58bf69e2c948c183001d77e63fbbb.zip | |
Merge tag 'vfs-6.13.pagecache' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
Pull vfs pagecache updates from Christian Brauner:
"Cleanup filesystem page flag usage: This continues the work to make
the mappedtodisk/owner_2 flag available to filesystems which don't use
buffer heads. Further patches remove uses of Private2. This brings us
very close to being rid of it entirely"
* tag 'vfs-6.13.pagecache' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
migrate: Remove references to Private2
ceph: Remove call to PagePrivate2()
btrfs: Switch from using the private_2 flag to owner_2
mm: Remove PageMappedToDisk
nilfs2: Convert nilfs_copy_buffer() to use folios
fs: Move clearing of mappedtodisk to buffer.c
Diffstat (limited to 'mm/truncate.c')
| -rw-r--r-- | mm/truncate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/truncate.c b/mm/truncate.c index 0668cd340a46..870af79fb446 100644 --- a/mm/truncate.c +++ b/mm/truncate.c @@ -166,7 +166,6 @@ static void truncate_cleanup_folio(struct folio *folio) * Hence dirty accounting check is placed after invalidation. */ folio_cancel_dirty(folio); - folio_clear_mappedtodisk(folio); } int truncate_inode_folio(struct address_space *mapping, struct folio *folio) |
