dm thin metadata: wrap superblock locking
authorJoe Thornber <ejt@redhat.com>
Fri, 27 Jul 2012 14:08:09 +0000 (15:08 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:08:09 +0000 (15:08 +0100)
commit2597119206405b9dbaee491e7c2389b7570b3227
treee3b21489dd14fde4f8ed30c67f4431285c08852c
parent3c9ad9bd87b03032999ddbeb44bdf7938f7dbd57
dm thin metadata: wrap superblock locking

Introduce wrappers to handle write locking the superblock
appropriately.

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