]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: add available_nids to fix handling max_nid correctly
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 18 Apr 2014 02:14:37 +0000 (11:14 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:55 +0000 (10:21 +0900)
commitec5794886d1015e469cfc326d70c2d86d02e517b
tree94e793d60e76c16361c9e1a0bfaa8dc188d17803
parent7f6828a5fc56a44d1d2b528e1d80e61c9e360267
f2fs: add available_nids to fix handling max_nid correctly

This patch introduces available_nids for alloc_nids() and fixes max_nid for
build_free_nids() and scan_nat_pages().

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