Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/ryusuke/nilfs2

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2:
  nilfs2: fix potential leak of dirty data on umount
  • Loading branch information
Linus Torvalds committed Feb 3, 2010
2 parents c80d292 + 3256a05 commit c1c0cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nilfs2/segment.c
Original file line number Diff line number Diff line change
Expand Up @@ -2829,7 +2829,7 @@ static void nilfs_segctor_destroy(struct nilfs_sc_info *sci)
|| sci->sc_seq_request != sci->sc_seq_done);
spin_unlock(&sci->sc_state_lock);

if (flag || nilfs_segctor_confirm(sci))
if (flag || !nilfs_segctor_confirm(sci))
nilfs_segctor_write_out(sci);

WARN_ON(!list_empty(&sci->sc_copied_buffers));
Expand Down

0 comments on commit c1c0cbb

Please sign in to comment.