]> git.karo-electronics.de Git - karo-tx-linux.git/commit
This patch introduces a separate struct for the block_manager.
authorJoe Thornber <ejt@redhat.com>
Tue, 24 Jul 2012 23:25:22 +0000 (09:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Jul 2012 23:25:22 +0000 (09:25 +1000)
commit902191f6a5b4f6632e495865f1d898ebd0fe5d00
tree8cb894b2a811dc3bc3b3dc789ae668c122badec1
parent70b81ee4f1e095bf5c3a060e34675fd329fe33bc
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>
drivers/md/dm-thin-metadata.c
drivers/md/persistent-data/dm-block-manager.c