f2fs: adjust the way of calculating nat block
authorFan Li <fanofcode.li@samsung.com>
Wed, 8 Mar 2017 05:39:16 +0000 (13:39 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 22 Mar 2017 02:34:27 +0000 (22:34 -0400)
commit8a6aa32502549b1f15f0a28e3d2fcc5edabc3f19
tree04c60f06bb57e2282da0239973ec3aaf5001805f
parent14b44d238ce7402a99db30b806e08b3e4eddcdbe
f2fs: adjust the way of calculating nat block

use a slightly simpler expression to calculate nat block with nid.

Signed-off-by: Fan Li <fanofcode.li@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.h