summaryrefslogtreecommitdiffstats
path: root/fs/anon_inodes.c
diff options
context:
space:
mode:
authorFan Li <fanofcode.li@samsung.com>2017-06-02 09:45:42 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2017-07-04 11:11:34 +0200
commit72fdbe2efe3e42a54e268d2ee2a8c0828d3996e7 (patch)
tree4d2abe0f9dedc0a2107152c812653838f77a5e0d /fs/anon_inodes.c
parentf2fs: sanity check size of nat and sit cache (diff)
downloadlinux-72fdbe2efe3e42a54e268d2ee2a8c0828d3996e7.tar.xz
linux-72fdbe2efe3e42a54e268d2ee2a8c0828d3996e7.zip
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>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions