Zhihao Cheng 9feffe1466 f2fs: update_sit_entry: Make the judgment condition of f2fs_bug_on more intuitive
Current judgment condition of f2fs_bug_on in function update_sit_entry():
  new_vblocks >> (sizeof(unsigned short) << 3) ||
	new_vblocks > sbi->blocks_per_seg

which equivalents to:
  new_vblocks < 0 || new_vblocks > sbi->blocks_per_seg

The latter is more intuitive.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Reported-by: Jack Qiu <jack.qiu@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-08-03 18:05:13 -07:00
..
2019-05-08 21:23:11 -07:00
2020-07-07 21:51:49 -07:00
2020-06-09 11:28:59 -07:00
2020-01-17 16:48:07 -08:00
2020-07-26 08:15:40 -07:00
2020-07-26 08:15:40 -07:00
2020-05-11 20:36:46 -07:00
2020-03-10 09:18:33 -07:00
2020-07-26 08:15:40 -07:00
2020-07-26 08:15:40 -07:00