f2fs: save a multiplication for last_nid calculation
authorFan Li <fanofcode.li@samsung.com>
Thu, 2 Nov 2017 03:02:52 +0000 (11:02 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 03:38:28 +0000 (19:38 -0800)
commitc33a70d7192db2aa037d957e353796ad38539c88
tree8541bf2963470a355901010a30921983a7bf66da
parent4c8fdcd5d79e7117fcdd3f5b01be21489b1f4452
f2fs: save a multiplication for last_nid calculation

Use a slightly easier way to calculate last_nid.

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