dm persistent data: remove redundant value_size arg from value_ptr
authorJoe Thornber <ejt@redhat.com>
Wed, 28 Mar 2012 17:41:25 +0000 (18:41 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 28 Mar 2012 17:41:25 +0000 (18:41 +0100)
commita3aefb395e4f321c8b1314c88f1123624adcf743
treecedb3dbc643009cdba3c927b499e32e3247f7e5e
parent466891f9959b500e037836737c064a72f2bbe8cf
dm persistent data: remove redundant value_size arg from value_ptr

Now that the value_size is held within every node of the btrees we can
remove this argument from value_ptr().

For the last few months a BUG_ON has been checking this argument is
the same as that held in the node.  No issues were reported.  So this
is a safe change.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/persistent-data/dm-btree-internal.h
drivers/md/persistent-data/dm-btree-remove.c
drivers/md/persistent-data/dm-btree.c