summaryrefslogtreecommitdiff
path: root/fs/ecryptfs/inode.c
diff options
context:
space:
mode:
authorPankaj Raghav <p.raghav@samsung.com>2025-08-14 16:21:37 +0200
committerChristian Brauner <brauner@kernel.org>2025-10-31 10:12:35 +0100
commit10436adf9df60ae73390754b47a4bdebf728529f (patch)
tree520088c69db85495e5b207de00568d26c46db68e /fs/ecryptfs/inode.c
parentb2c43efc3c8d9cda34eb8421249d15e6fed4d650 (diff)
iomap: use largest_zero_folio() in iomap_dio_zero()
iomap_dio_zero() uses a custom allocated memory of zeroes for padding zeroes. This was a temporary solution until there was a way to request a zero folio that was greater than the PAGE_SIZE. Use largest_zero_folio() function instead of using the custom allocated memory of zeroes. There is no guarantee from largest_zero_folio() function that it will always return a PMD sized folio. Adapt the code so that it can also work if largest_zero_folio() returns a ZERO_PAGE. Signed-off-by: Pankaj Raghav <p.raghav@samsung.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ecryptfs/inode.c')
0 files changed, 0 insertions, 0 deletions