f2fs: fix the calculation of max_nids
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 17 Feb 2014 03:44:20 +0000 (12:44 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 17 Feb 2014 05:58:53 +0000 (14:58 +0900)
commitb63da15e8b475245026bdf2096853683f189706b
tree1d6bf8304f3aa161a09dbd24be7059a7c99cc18a
parent942e0be6219cc80384eb961feb963cab275bcbbf
f2fs: fix the calculation of max_nids

Total nids that f2fs can use should not include 0, nid for node inode, and nid
for meta inode.

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