f2fs: fix extent cache memory leak
authorWanpeng Li <wanpeng.li@linux.intel.com>
Fri, 6 Mar 2015 07:00:54 +0000 (15:00 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Apr 2015 22:08:35 +0000 (15:08 -0700)
commitfdf6c8be337af72b066548f325abcbcdf626dea8
tree3877da09dc0618de1f5c53ee502bade865706dec
parentd7196c5a32caf6ebbe60771ff04ee7d797039d74
f2fs: fix extent cache memory leak

extent tree/node slab cache is created during f2fs insmod,
how, it isn't destroyed during f2fs rmmod, this patch fix
it by destroy extent tree/node slab cache once rmmod f2fs.

Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c