]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 5 Nov 2021 09:18:05 +0000 (10:18 +0100)
commit4ba97e9b3ecc9a51ae355d304f0bf3bd75577b1b
tree7f7e61cf48a929800d2bcc828d0de5a66adc461a
parent3c94ac99a1c1df19b4064f51e9f0d8273a0c6054
f2fs: fix to account missing .skipped_gc_rwsem

BugLink: https://bugs.launchpad.net/bugs/1947781
[ Upstream commit ad126ebddecbf696e0cf214ff56c7b170fa9f0f7 ]

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

Fixes: 6f8d4455060d ("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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
fs/f2fs/gc.c