commit | e1e16f0b58a0cae42c7ff5054edad46e1b10321d | [log] [tgz] |
---|---|---|
author | Fan Li <fanofcode.li@samsung.com> | Fri Jun 02 15:45:42 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Jul 13 17:15:28 2017 -0700 |
tree | 7f2e20bbee8d1631c5c6aa6f6b8b82a8e25bd1e9 | |
parent | a8d61758d7fac041daf083073a6bf116ec54c22f [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>