aboutsummaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-11-18 09:54:32 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2024-11-18 09:54:32 -0800
commit56be9aaf98d58bf69e2c948c183001d77e63fbbb (patch)
treee2c40fe614af0b1ae71222a9159364980f62a78a /mm/truncate.c
parent5bb6ba448fe3598a7668838942db1f008beb581b (diff)
parentc6bbfc7ce1567eb7928f22d92b6ad34d8e4ea22b (diff)
downloadlinux-56be9aaf98d58bf69e2c948c183001d77e63fbbb.tar.gz
linux-56be9aaf98d58bf69e2c948c183001d77e63fbbb.tar.bz2
linux-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.c1
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)