dm: don't save and restore bi_private
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 25 Nov 2015 21:03:31 +0000 (16:03 -0500)
committerMike Snitzer <snitzer@redhat.com>
Thu, 10 Dec 2015 15:38:56 +0000 (10:38 -0500)
commitfe3265b180d6282648f03bc6ac3958c733df01c2
treeacf20a7a1efed26556b258a6f6339167bff59202
parent086fbbbda9b743b149b0294e0feec257e2c311d5
dm: don't save and restore bi_private

Device mapper used the field bi_private to point to dm_target_io. However,
since kernel 3.15, the bi_private field is unused, and so the targets do
not need to save and restore this field.

This patch removes code that saves and restores bi_private from dm-cache,
dm-snapshot and dm-verity.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-target.c
drivers/md/dm-snap.c
drivers/md/dm-verity.c