]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ee7ef6d60abeb20714ef6b67d70bf6b39ba8ae6
tree36a644b0f1c4208dd773887dc5061368fe315d11
parent95e11dee09adfa7993028b0628845c9179fc5416
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