]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nilfs2: fix missing cleanup of gc cache on error cases
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sun, 8 Nov 2009 03:09:24 +0000 (12:09 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sun, 8 Nov 2009 10:04:25 +0000 (19:04 +0900)
commitc083234f1592ef3fad3d8083663c5e4a357ec77c
tree8c90897b1fa11920a4edbf043aa59a5123eaa2cb
parent5399dd1fc8f5e812db931225ef5f67d89f3b1a56
nilfs2: fix missing cleanup of gc cache on error cases

This fixes an -rc1 regression brought by the commit:
1cf58fa840472ec7df6bf2312885949ebb308853 ("nilfs2: shorten freeze
period due to GC in write operation v3").

Although the patch moved out a function call of
nilfs_ioctl_move_blocks() to nilfs_ioctl_clean_segments() from
nilfs_ioctl_prepare_clean_segments(), it didn't move corresponding
cleanup job needed for the error case.

This will move the missing cleanup job to the destination function.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Acked-by: Jiro SEKIBA <jir@unicus.jp>
fs/nilfs2/ioctl.c