diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-07-12 22:37:04 -0400 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-07-20 10:39:26 -0700 |
| commit | 35f440660fd53e2aa2e5be4aa5ccd87d388385ea (patch) | |
| tree | 104183aaa63cdcdf100c108ea8d07767709ed71b /include/linux/bnge | |
| parent | 170c3aa85d251ccd0f23a022a5efc5b3e105ac95 (diff) | |
fscrypt: Remove fscrypt_dio_supported()
On block-based filesystems, fscrypt file contents encryption is now
always implemented using blk-crypto. This implementation supports
direct I/O.
Therefore, fscrypt_dio_supported() now always returns true, except in
the edge case where statx(STATX_DIOALIGN) is called on an encrypted
regular file that hasn't had its key set up. But that was really a
workaround rather than the desired behavior, so we can disregard it.
Thus, fscrypt_dio_supported() is no longer needed. Remove it.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260713023708.9245-14-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'include/linux/bnge')
0 files changed, 0 insertions, 0 deletions
