]> www.infradead.org Git - users/willy/pagecache.git/commit
iomap: Minor code simplification in iomap_dio_bio_iter()
authorJohn Garry <john.g.garry@oracle.com>
Mon, 24 Feb 2025 15:45:38 +0000 (15:45 +0000)
committerChristian Brauner <brauner@kernel.org>
Tue, 25 Feb 2025 10:55:26 +0000 (11:55 +0100)
commitb5799106b44e1df594f4696500dbbc3b326bba18
tree2385ed532109f22cf7723348349e53b293b7e2ac
parent425e3e3bd62c568a4365af0923d6ebad71a7dcfc
iomap: Minor code simplification in iomap_dio_bio_iter()

Combine 'else' and 'if' conditional statements onto a single line and drop
unrequired braces, as is standard coding style.

The code had been like this since commit c3b0e880bbfa ("iomap: support
REQ_OP_ZONE_APPEND").

Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20250224154538.548028-1-john.g.garry@oracle.com
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/direct-io.c