diff options
author | 2019-07-26 11:45:12 +0800 | |
---|---|---|
committer | 2019-08-23 07:57:12 -0700 | |
commit | 280fd422958187ac5f069c08d84dd65f7f87c2e6 (patch) | |
tree | 2011a247bfc2e817968de1f3efdc26676f8e327f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: disallow direct IO in atomic write (diff) | |
download | wireguard-linux-280fd422958187ac5f069c08d84dd65f7f87c2e6.tar.xz wireguard-linux-280fd422958187ac5f069c08d84dd65f7f87c2e6.zip |
fs: f2fs: Remove unnecessary checks of SM_I(sbi) in update_general_status()
In fill_super() and put_super(), f2fs_destroy_stats() is called
in prior to f2fs_destroy_segment_manager(), so if current
sbi can still be visited in global stat list, SM_I(sbi) should be
released yet.
For this reason, SM_I(sbi) does not need to be checked in
update_general_status().
Thank Chao Yu for advice.
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions