diff options
| author | 2012-11-01 08:39:27 -0500 | |
|---|---|---|
| committer | 2013-01-17 14:09:00 -0600 | |
| commit | 4caf35f9ecdca1feef1d2e5e223b78e52ffbea87 (patch) | |
| tree | ae709588c296a65d394489d14fb3635ce2fceea0 /include/linux | |
| parent | rbd: kill rbd_spec->image_id_len (diff) | |
| download | linux-dev-4caf35f9ecdca1feef1d2e5e223b78e52ffbea87.tar.xz linux-dev-4caf35f9ecdca1feef1d2e5e223b78e52ffbea87.zip | |
rbd: use kmemdup()
This replaces two kmalloc()/memcpy() combinations with a single
call to kmemdup().
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
