diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2013-10-22 14:52:26 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-10-22 20:16:02 +0900 |
commit | 7bd59381c82defe19875284c48b1ac9dacd16e8f (patch) | |
tree | 872cece782fc04b77b220060022f43d08886090b /fs/f2fs/data.c | |
parent | 435f2a1b58ac8f50894f23549c97791085f7cba2 (diff) | |
download | talos-op-linux-7bd59381c82defe19875284c48b1ac9dacd16e8f.tar.gz talos-op-linux-7bd59381c82defe19875284c48b1ac9dacd16e8f.zip |
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>
Diffstat (limited to 'fs/f2fs/data.c')
0 files changed, 0 insertions, 0 deletions