iomap: Add another assertion to inline data handling
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 5 Aug 2021 03:07:34 +0000 (20:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 5 Aug 2021 17:30:33 +0000 (10:30 -0700)
commitae44f9c286da3fbb3f827076403ea64fa9adfef2
tree414e901d697c4df69376171fd9aabf24b8a2ba2e
parentab069d5fdcd14530d4223746c8d01f421d4c4057
iomap: Add another assertion to inline data handling

Check that the file tail does not cross a page boundary.  Requested by
Andreas.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c