diff options
| author | Aditya Prakash Srivastava <aditya.ansh182@gmail.com> | 2026-07-03 09:00:44 +0000 |
|---|---|---|
| committer | Tyler Hicks <code@tyhicks.com> | 2026-07-20 22:12:46 -0500 |
| commit | 21a6287ae2489426d23979e2213033dd204aa9fa (patch) | |
| tree | 54c15d9ab6121e3134028c8f6e59ce5922afb4c5 /scripts/patch-kernel | |
| parent | 8fafd7c86fc35bd11eb34d4ab2d6282b3354f30f (diff) | |
| download | linux-21a6287ae2489426d23979e2213033dd204aa9fa.tar.gz linux-21a6287ae2489426d23979e2213033dd204aa9fa.zip | |
ecryptfs: use filemap_dirty_folio for address space operations
ecryptfs does not use buffer_heads. The legacy block_dirty_folio and
block_invalidate_folio mapping operations were only added as a
temporary compatibility fallback under CONFIG_BLOCK.
Since ecryptfs does not attach private metadata (such as buffer_heads)
to its folios, block_dirty_folio is unnecessary.
Modernize ecryptfs to use filemap_dirty_folio for its dirty_folio
address space operation. This allows removing the block_dirty_folio
and block_invalidate_folio fallbacks, removing the buffer_head header
include, and removing the CONFIG_BLOCK dependency inside ecryptfs_aops.
Signed-off-by: Aditya Prakash Srivastava <aditya.ansh182@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
