f2fs: change return value of reserved_segments to unsigned int
authorXiaojun Wang <wangxiaojun11@huawei.com>
Wed, 16 Sep 2020 08:00:46 +0000 (16:00 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 29 Sep 2020 08:48:33 +0000 (01:48 -0700)
commit4470eb28731102e465d562f38d07fdf0796a58b0
treeecc53282f41c58f5380d3ea1313a9b567427e938
parentc8eb702484ed5badb2b654f2c9d086e43a00b954
f2fs: change return value of reserved_segments to unsigned int

The type of SM_I(sbi)->reserved_segments is unsigned int,
so change the return value to unsigned int.
The type cast can be removed in reserved_sections as a result.

Signed-off-by: Xiaojun Wang <wangxiaojun11@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.h