f2fs: remove unused GC_FAILURE_PIN
authorChao Yu <chao@kernel.org>
Mon, 6 May 2024 10:45:37 +0000 (18:45 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 9 May 2024 01:03:17 +0000 (01:03 +0000)
commit968c4f72b23c0c8f1e94e942eab89b8c5a3022e7
treee4cc9a78e80fd84008b0b9270652203d76faaa6f
parenta78118406d52dde495311c0c4917613868b53169
f2fs: remove unused GC_FAILURE_PIN

After commit 3db1de0e582c ("f2fs: change the current atomic write way"),
we removed all GC_FAILURE_ATOMIC usage, let's change i_gc_failures[]
array to i_pin_failure for cleanup.

Meanwhile, let's define i_current_depth and i_gc_failures as union
variable due to they won't be valid at the same time.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inode.c
fs/f2fs/recovery.c