diff options
author | Joe Thornber <ejt@redhat.com> | 2012-07-27 15:08:08 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 15:08:08 +0100 |
commit | 51a0f659c03ccc8ec407c7a9f9701d1b4618d515 (patch) | |
tree | 21b05e433e1f513079e51d3ccec1da6b1ea1008f /lib/rational.c | |
parent | 41675aea32949786cf002c4ab179b85144d3423b (diff) | |
download | op-kernel-dev-51a0f659c03ccc8ec407c7a9f9701d1b4618d515.zip op-kernel-dev-51a0f659c03ccc8ec407c7a9f9701d1b4618d515.tar.gz |
dm persistent data: create new dm_block_manager struct
This patch introduces a separate struct for the block_manager.
It also uses IS_ERR to check the return value of dm_bufio_client_create
instead of testing incorrectly for NULL.
Prior to this patch a struct dm_block_manager was really an alias for
a struct dm_bufio_client. We want to add some functionality to the
block manager that will require extra fields, so this one to one
mapping is no longer valid.
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>
Diffstat (limited to 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions