f2fs: use MAX_FREE_NIDS for the free nids target
authorKinglong Mee <kinglongmee@gmail.com>
Sun, 26 Feb 2017 12:47:16 +0000 (20:47 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 27 Feb 2017 18:07:48 +0000 (10:07 -0800)
commitf0cdbfe6ef0b2f3d42e1cf87bf962e730c2420cb
treecd094445cdc048b7a21cb7ca77d1dadb79be47f8
parent4ac912427c4214d8031d9ad6fbc3bc75e71512df
f2fs: use MAX_FREE_NIDS for the free nids target

F2FS has define MAX_FREE_NIDS for maximum of cached free nids target.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c