summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-07-17 23:24:24 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2024-07-17 23:24:24 +0300
commit01f851a0e87ed64db7081a472061650e96dfb798 (patch)
treeb3c96de535c4b66ca0cc286efa05d40fb9d6956c
parent8b0f0bb27c32ed46da0d67d056a6aacccd7c48bf (diff)
parentdf2f9708ff1f23afdf6804bb16199e1903550582 (diff)
downloadlinux-01f851a0e87ed64db7081a472061650e96dfb798.tar.xz
Merge tag 'zonefs-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs
Pull zonefs update from Damien Le Moal: "A single change to enable support for large folios (from Johannes)" * tag 'zonefs-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs: zonefs: enable support for large folios
-rw-r--r--fs/zonefs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c
index 964fa7f24003..faf1eb87895d 100644
--- a/fs/zonefs/super.c
+++ b/fs/zonefs/super.c
@@ -662,6 +662,7 @@ static struct inode *zonefs_get_file_inode(struct inode *dir,
inode->i_op = &zonefs_file_inode_operations;
inode->i_fop = &zonefs_file_operations;
inode->i_mapping->a_ops = &zonefs_file_aops;
+ mapping_set_large_folios(inode->i_mapping);
/* Update the inode access rights depending on the zone condition */
zonefs_inode_update_mode(inode);