fs: iomap: Change the type of blocksize from 'int' to 'unsigned int' in iomap_file_bu...
authorLu Hongfei <luhongfei@vivo.com>
Thu, 29 Jun 2023 16:22:50 +0000 (09:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 29 Jun 2023 16:22:50 +0000 (09:22 -0700)
commit302efbef9d77a170a94dd81f4076814142dc5a31
tree98f208579de23589852ae1033cac0fe407bf2197
parent858fd168a95c5b9669aac8db6c14a9aeab446375
fs: iomap: Change the type of blocksize from 'int' to 'unsigned int' in iomap_file_buffered_write_punch_delalloc

The return value type of i_blocksize() is 'unsigned int', so the
type of blocksize has been modified from 'int' to 'unsigned int'
to ensure data type consistency.

Signed-off-by: Lu Hongfei <luhongfei@vivo.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c