]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix to account missing .skipped_gc_rwsem
authorChao Yu <chao@kernel.org>
Tue, 24 Aug 2021 00:12:08 +0000 (08:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 10:26:25 +0000 (12:26 +0200)
commit4d1181f6be3f1d0e386724fed67f01af0be3bc38
tree6f0d15cd8248c1d2b6182c7386c31ce6e0cbaee2
parent56547188218fb8ba33bf901ca3512ca0b756e82c
f2fs: fix to account missing .skipped_gc_rwsem

[ Upstream commit ad126ebddecbf696e0cf214ff56c7b170fa9f0f7 ]

There is a missing place we forgot to account .skipped_gc_rwsem, fix it.

Fixes: 6414526ba70c ("f2fs: avoid fi->i_gc_rwsem[WRITE] lock in f2fs_gc")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/f2fs/gc.c