]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
rbd: use kmemdup()
authorAlex Elder <elder@dreamhost.com>
Thu, 1 Nov 2012 13:39:27 +0000 (08:39 -0500)
committerAlex Elder <elder@inktank.com>
Mon, 19 Nov 2012 23:37:47 +0000 (17:37 -0600)
commit4a610328099f7ae8db842c9472a0e2f7d6f4b315
treebd018b6c9d12ada864044c22b5e1924c5e5487ec
parent4c85fee93dfe2c9347f706aacaf54656d63ad5a6
rbd: use kmemdup()

This replaces two kmalloc()/memcpy() combinations with a single
call to kmemdup().

Signed-off-by: Alex Elder <elder@inktank.com>
drivers/block/rbd.c