commit | 72fdbe2efe3e42a54e268d2ee2a8c0828d3996e7 | [log] [tgz] |
---|---|---|
author | Fan Li <fanofcode.li@samsung.com> | Fri Jun 02 15:45:42 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Jul 04 02:11:34 2017 -0700 |
tree | 4d2abe0f9dedc0a2107152c812653838f77a5e0d | |
parent | 21d3f8e1c3b7996ce239ab6fa82e9f7a8c47d84d [diff] |
f2fs: simplify the way of calulating next nat address The index of segment which the next nat block is in has only one different bit than the current one, so to get the next nat address, we can simply alter that one bit. Signed-off-by: Fan Li <fanofcode.li@samsung.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>