dm cache: replace memcpy with struct assignment
authorJoe Thornber <ejt@redhat.com>
Fri, 10 May 2013 13:37:18 +0000 (14:37 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 10 May 2013 13:37:18 +0000 (14:37 +0100)
commit8c5008fac4af85c7a597c4e7f2c328ac90652bc2
tree36a644b0f1c4208dd773887dc5061368fe315d11
parentaeed1420a39afb9bd4b7acfcda7a573e349bf27a
dm cache: replace memcpy with struct assignment

Use struct assignment rather than memcpy in dm cache.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-cache-metadata.c
drivers/md/dm-cache-target.c