dm thin: refactor data dev resize
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)
commitb17446df2ebcaf32889376d90f4b9b2baebb2db6
tree53d98c3dcb15542d90a6e39c5373a5ab41d47c02
parent8c5008fac4af85c7a597c4e7f2c328ac90652bc2
dm thin: refactor data dev resize

Refactor device size functions in preparation for similar metadata
device resizing functions.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin-metadata.c
drivers/md/dm-thin.c