f2fs: don't skip checkpoint if there is no dirty node pages
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Aug 2014 16:13:01 +0000 (09:13 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Aug 2014 17:01:35 +0000 (10:01 -0700)
commit97c3c5cac2bba0ecc4b0de83d33a23aa427ef628
tree01e86019499b61495d5ee7d60c4951a99b369c9c
parentb307384e4f4670c490b4d142d27fed497df51fae
f2fs: don't skip checkpoint if there is no dirty node pages

This is the errorneous scenario.
1. write data
2. do checkpoint
3. produce some dirty node pages by the gc thread
4. write back dirty node pages
5. f2fs_put_super will skip the checkpoint, since dirty count for node pages is
  zero.

This patch removes such the wrong condition check.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
This page took 0.024881 seconds and 5 git commands to generate.