Skip to content
Commit bd367329 authored by Eric Biggers's avatar Eric Biggers
Browse files

f2fs: simplify f2fs_force_buffered_io()



f2fs only allows direct I/O that is aligned to the filesystem block
size.  Given that fact, simplify f2fs_force_buffered_io() by removing
the redundant call to block_unaligned_IO().

This makes it easier to reuse this code for STATX_DIOALIGN.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Acked-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Link: https://lore.kernel.org/r/20220827065851.135710-7-ebiggers@kernel.org
parent 2db0487f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment