f2fs: use kmemdup
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Thu, 28 Mar 2013 00:24:53 +0000 (02:24 +0200)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Sun, 31 Mar 2013 00:12:18 +0000 (09:12 +0900)
commit79b5793be44d97c0a0e905c221858af08e5ebd85
tree055039157ea7aee50eaed019d4be820335c7e5f7
parent953a3e27e10fc6acb480801ea47197d0270d735e
f2fs: use kmemdup

Use kmemdup instead of kzalloc and memcpy.

Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Acked-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/node.c
fs/f2fs/segment.c