Re: [f2fs-dev] [PATCH 1/2] f2fs: UBSAN: set boolean value iostat_enable correctly

2019-01-14 Thread Chao Yu
On 2019/1/14 22:05, Sheng Yong wrote: > When setting /sys/fs/f2fs//iostat_enable with non-boolean value, > UBSAN reports the following warning. > > [ 7562.295484] > > [ 7562.296531] UBSAN: Undefined behaviour in

[f2fs-dev] [PATCH 1/2] f2fs: UBSAN: set boolean value iostat_enable correctly

2019-01-14 Thread Sheng Yong
When setting /sys/fs/f2fs//iostat_enable with non-boolean value, UBSAN reports the following warning. [ 7562.295484] [ 7562.296531] UBSAN: Undefined behaviour in fs/f2fs/f2fs.h:2776:10 [ 7562.297651] load of value