]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix to mark the checkpointed nat entry correctly
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 21 Feb 2014 04:17:22 +0000 (13:17 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 24 Feb 2014 07:00:40 +0000 (16:00 +0900)
commit2a95653f4b9125aa10384d7077519c44c56b84fa
treeef9baeee5d33b51acda782320c7b47299345fec3
parent6c161f8d0b98d1805cb1c8bec7628f9de3283dcf
f2fs: fix to mark the checkpointed nat entry correctly

The nat cache entry maintains a status whether it is checkpointed or not.
So, if a new cache entry is loaded from the last checkpoint,
nat_entry->checkpointed should be true.
If the cache entry is modified as being dirty, nat_entry->checkpoint should
be false.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/node.c
fs/f2fs/node.h