f2fs: extract rb-tree operation infrastructure
authorChao Yu <yuchao0@huawei.com>
Tue, 11 Apr 2017 01:25:22 +0000 (09:25 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 11 Apr 2017 22:13:52 +0000 (15:13 -0700)
commit54c2258cd63a81283cf88b2bd9457c61ee2cd66f
treefab01bde68eb456e02cd5ec4f7fbb39478ef7f6f
parent8fd5a37efa0b036353df253e20dabe8773c039cd
f2fs: extract rb-tree operation infrastructure

rb-tree lookup/update functions are deeply coupled into extent cache
codes, it's very hard to reuse these basic functions, this patch
extracts common rb-tree operation infrastructure for latter reusing.

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