commit | 2d96ad5b28a3f6e52de7783d125cd558f6183f8f | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon May 07 20:28:52 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Jul 08 16:39:18 2018 -0700 |
tree | f0d4e97addfab80c2a5c655fb662c408523b1ccc | |
parent | 6b7c7b4171938651cfcc833746327cb07260abb9 [diff] |
f2fs: fix to initialize i_current_depth according to inode type i_current_depth is used only for directory inode, but its space is shared with i_gc_failures field used for regular inode, in order to avoid affecting i_gc_failures' value, this patch fixes to initialize the union's fields according to inode type. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>