summaryrefslogtreecommitdiff
path: root/fs/f2fs/segment.h
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-05-07 20:28:52 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-05-31 11:31:50 -0700
commit1c41e6808e69564bbd44d71687916151b9c63df1 (patch)
tree0e0b6d0566ebaab2a954f196baad4cd0df99619a /fs/f2fs/segment.h
parent299254d85dec4ac0515a14e6d96ff70841302719 (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>
Diffstat (limited to 'fs/f2fs/segment.h')
0 files changed, 0 insertions, 0 deletions