f2fs: use rb_entry_safe
authorGeliang Tang <geliangtang@gmail.com>
Tue, 20 Dec 2016 13:57:42 +0000 (21:57 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 29 Jan 2017 03:46:01 +0000 (12:46 +0900)
commited0b56209fe79a1309653d4b03f5c3147f580f6b
treef27c3042d3721fcc0b1568710c5c421de8b8e768
parent746e2403927efbd7c7f2e796314e3cfb3cfabaa4
f2fs: use rb_entry_safe

Use rb_entry_safe() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/extent_cache.c