zonefs changes for 6.11
A single change for 6.11, to enable support for large folios (from Johannes). -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSRPv8tYSvhwAzJdzjdoc3SxdoYdgUCZpWoKgAKCRDdoc3SxdoY doWSAQCPl/BNm3574W3cyzgZ5VtF+nnPd/sWnMm5eiwsZUQPrAD/cKOWUHQx5Psa Rp3e5BUz8rWSpMJFPLaerUdt8AuEPQ0= =QtDl -----END PGP SIGNATURE----- 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
This commit is contained in:
commit
01f851a0e8
@ -662,6 +662,7 @@ static struct inode *zonefs_get_file_inode(struct inode *dir,
|
|||||||
inode->i_op = &zonefs_file_inode_operations;
|
inode->i_op = &zonefs_file_inode_operations;
|
||||||
inode->i_fop = &zonefs_file_operations;
|
inode->i_fop = &zonefs_file_operations;
|
||||||
inode->i_mapping->a_ops = &zonefs_file_aops;
|
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 */
|
/* Update the inode access rights depending on the zone condition */
|
||||||
zonefs_inode_update_mode(inode);
|
zonefs_inode_update_mode(inode);
|
||||||
|
Loading…
Reference in New Issue
Block a user