f2fs: give random value to i_generation
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 25 Feb 2019 17:46:45 +0000 (09:46 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 13 Mar 2019 01:59:18 +0000 (18:59 -0700)
commit428e3bcf07696ff252b7ff3ff7711c2b9bbdb908
treeac45ae40c6165175976cc197c5b4e201ca9df644
parent613f3dcdf0d8ffdb3e5d820f6d69076905efddc3
f2fs: give random value to i_generation

This follows to give random number to i_generation along with commit
232530680290b ("ext4: improve smp scalability for inode generation")

This can be used for DUN for UFS HW encryption.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/namei.c
fs/f2fs/super.c