nilfs2: fix duplicate call to nilfs_segctor_cancel_freev
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 22 Mar 2010 05:01:24 +0000 (14:01 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 22 Mar 2010 05:41:07 +0000 (14:41 +0900)
Andreas Beckmann gave me a report that nilfs logged the following
warnings when it got a disk full:

  nilfs_sufile_do_cancel_free: segment 0 must be clean
  nilfs_sufile_do_cancel_free: segment 1 must be clean

These arise from a duplicate call to nilfs_segctor_cancel_freev in an
error path of log writer.  This will fix the issue.

Reported-by: Andreas Beckmann <debian@abeckmann.de>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>

No differences found