f2fs: obsolete ALLOC_NID_LIST list
authorChao Yu <yuchao0@huawei.com>
Fri, 29 Sep 2017 05:59:35 +0000 (13:59 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 10 Oct 2017 19:49:53 +0000 (12:49 -0700)
commit9a4ffdf55811ff3382cdf44459ec17521bd47e5e
treec5d86b48db2be6f361deb42b7cf69a89168b46bb
parent71ad682c1c295f1ba4eec7478384138b6ad4dab2
f2fs: obsolete ALLOC_NID_LIST list

As Fan Li reported, there is no user traversing nid_list[ALLOC_NID_LIST]
which is used for tracking preallocated nids. Let's drop it, and only
track preallocated nids in free_nid_root radix-tree.

Reported-by: Fan Li <fanofcode.li@samsung.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/debug.c
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/shrinker.c