f2fs: use rb_*_cached friends
authorChao Yu <yuchao0@huawei.com>
Thu, 4 Oct 2018 03:18:30 +0000 (11:18 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 26 Oct 2018 18:26:36 +0000 (11:26 -0700)
commitfab12a0831af60696ca7785dd688ed60fdc2c5d3
treed0e3eb58b28416168cd407d013709c75886a62cf
parent6c69ba3fcbaaf341f713d74e1f8d1f8decef3e49
f2fs: use rb_*_cached friends

As rbtree supports caching leftmost node natively, update f2fs codes
to use rb_*_cached helpers to speed up leftmost node visiting.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/extent_cache.c
fs/f2fs/f2fs.h
fs/f2fs/segment.c