]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: Convert iomap_write_end types
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Sep 2020 15:58:41 +0000 (08:58 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Sep 2020 15:59:26 +0000 (08:59 -0700)
commit3a423eba5a6632c010675eb20b4c8814b1ea13ad
treeebcb5767b2e1c574ee020cb44c1fcb2c4845f1b4
parente08a74a453a2454f2221df2e69f62052ca34a264
iomap: Convert iomap_write_end types

iomap_write_end cannot return an error, so switch it to return
size_t instead of int and remove the error checking from the callers.
Also convert the arguments to size_t from unsigned int, in case anyone
ever wants to support a page size larger than 2GB.

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