diff options
author | Sahitya Tummala <stummala@codeaurora.org> | 2019-12-05 08:52:39 +0530 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-01-15 13:43:48 -0800 |
commit | 0e6d01643c207fdcd77b9b40c29cbe1c63f03c15 (patch) | |
tree | fdd465fcc28b7bda09395a113671cca60cc97b14 /fs/f2fs/segment.c | |
parent | f2fs: Check write pointer consistency of non-open zones (diff) | |
download | linux-dev-0e6d01643c207fdcd77b9b40c29cbe1c63f03c15.tar.xz linux-dev-0e6d01643c207fdcd77b9b40c29cbe1c63f03c15.zip |
f2fs: cleanup duplicate stats for atomic files
Remove duplicate sbi->aw_cnt stats counter that tracks
the number of atomic files currently opened (it also shows
incorrect value sometimes). Use more relit lable sbi->atomic_files
to show in the stats.
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r-- | fs/f2fs/segment.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 3ec912bd5504..aad884f2f38a 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -334,7 +334,6 @@ void f2fs_drop_inmem_pages(struct inode *inode) } fi->i_gc_failures[GC_FAILURE_ATOMIC] = 0; - stat_dec_atomic_write(inode); spin_lock(&sbi->inode_lock[ATOMIC_FILE]); if (!list_empty(&fi->inmem_ilist)) |