]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
f2fs: introduce f2fs_kmem_cache_alloc to hide the unfailed, kmem cache allocation
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Tue, 22 Oct 2013 06:52:26 +0000 (14:52 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 22 Oct 2013 11:16:02 +0000 (20:16 +0900)
commit7bd59381c82defe19875284c48b1ac9dacd16e8f
tree872cece782fc04b77b220060022f43d08886090b
parent435f2a1b58ac8f50894f23549c97791085f7cba2
f2fs: introduce f2fs_kmem_cache_alloc to hide the unfailed, kmem cache allocation

Introduce the unfailed version of kmem_cache_alloc named f2fs_kmem_cache_alloc
to hide the retry routine and make the code a bit cleaner.

v2:
   Fix the wrong use of 'retry' tag pointed out by Gao feng.
   Use more neat code to remove redundant tag suggested by Haicheng Li.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/gc.c
fs/f2fs/node.c