block: Don't trim an atomic write for-6.14/block for-6.14/block-20250118
authorJohn Garry <john.g.garry@oracle.com>
Thu, 16 Jan 2025 17:02:55 +0000 (17:02 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 17 Jan 2025 20:13:55 +0000 (13:13 -0700)
commit554b22864cc79e28cd65e3a6e1d0d1dfa8581c68
tree208c280d99920eeda42cc21dc4c9e6549854c3b3
parent6a7e17b22062c84a111d7073c67cc677c4190f32
block: Don't trim an atomic write

This is disallowed.

This check will now be relevant since the device mapper personalities
will start to support atomic writes, and they use this function.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20250116170301.474130-3-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c