f2fs: don't set cached_en if it will be freed
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 26 Jan 2016 17:20:05 +0000 (09:20 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commit429267442af1ddc2f8d9f5195fc5e919b5ced301
treefad789b8fdc185bba42258dae7e18f0328e543b9
parent43a2fa180ea498fb849c625fc517ce91491501a0
f2fs: don't set cached_en if it will be freed

If en has empty list pointer, it will be freed sooner, so we don't need to
set cached_en with it.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/extent_cache.c