iomap: Fix unsharing of an extent >2GB on a 32-bit machine
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 9 Jun 2020 03:58:29 +0000 (20:58 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 9 Jun 2020 03:58:29 +0000 (20:58 -0700)
commitd4ff3b2ef901cd451fb8a9ff4623d060a79502cd
treee9b82dcb519940e65e0801e316754e6b59f01ab6
parent0e698dfa282211e414076f9dc7e83c1c288314fd
iomap: Fix unsharing of an extent >2GB on a 32-bit machine

Widen the type used for counting the number of bytes unshared.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/iomap/buffered-io.c