Re: [f2fs-dev] [PATCH 2/3] mkfs.f2fs: set seed for random checkpoint_ver

2018-01-11 Thread Chao Yu
On 2018/1/11 10:17, Sheng Yong wrote: > If seed is not set, rand always uses 1 as the default seed. > > Signed-off-by: Liu Xue > Signed-off-by: Sheng Yong Reviewed-by: Chao Yu Thanks, -- Check out the vibrant tech c

[f2fs-dev] [PATCH 2/3] mkfs.f2fs: set seed for random checkpoint_ver

2018-01-10 Thread Sheng Yong
If seed is not set, rand always uses 1 as the default seed. Signed-off-by: Liu Xue Signed-off-by: Sheng Yong --- mkfs/f2fs_format.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c index a130001..9d7e180 100644 --- a/mkfs/f2fs_format.c +++ b/mkfs/f2fs_