]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
f2fs: fix to allow node segment for GC by ioctl path
authorSahitya Tummala <stummala@codeaurora.org>
Mon, 26 Nov 2018 08:01:41 +0000 (13:31 +0530)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:22:14 +0000 (14:22 -0300)
commitc356f2ee8f892466f483fbfe34297cc1c6a9822a
treea72442d7aab0fb0c6f74f38d18b5e829c29d5eef
parent29a5071ea7b4549272fb168aa02ff32dab6785e1
f2fs: fix to allow node segment for GC by ioctl path

BugLink: https://bugs.launchpad.net/bugs/1857158
[ Upstream commit 08ac9a3870f6babb2b1fff46118536ca8a71ef19 ]

Allow node type segments also to be GC'd via f2fs ioctl
F2FS_IOC_GARBAGE_COLLECT_RANGE.

Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
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: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
fs/f2fs/gc.c