f2fs: missing kmem_cache_destroy for discard_entry
authorChangman Lee <cm224.lee@samsung.com>
Wed, 11 Dec 2013 05:32:13 +0000 (14:32 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:07 +0000 (10:18 +0900)
commit5dcd8a71505186a124640f9f7c5c81fb269cc476
tree21821c7b1a7c69d8ac2896af7f4904d847d2cbb5
parent76130ccabcc39f0716691113f739f28a3088e253
f2fs: missing kmem_cache_destroy for discard_entry

insmod f2fs.ko is failed after insmod and rmmod firstly.

$ sudo insmod fs/f2fs/f2fs.ko
insmod: error inserting 'fs/f2fs/f2fs.ko': -1 Cannot allocate memory

-- dmesg --
kmem_cache_sanity_check (free_nid): Cache name already exists.

Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/super.c