summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfssvc.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-05-07 15:28:52 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2018-05-31 21:31:50 +0300
commit1c41e6808e69564bbd44d71687916151b9c63df1 (patch)
tree0e0b6d0566ebaab2a954f196baad4cd0df99619a /fs/nfsd/nfssvc.c
parent299254d85dec4ac0515a14e6d96ff70841302719 (diff)
downloadlinux-1c41e6808e69564bbd44d71687916151b9c63df1.tar.xz
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/nfsd/nfssvc.c')
0 files changed, 0 insertions, 0 deletions