mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
dm persistent data: tidy transaction manager creation fns
Tidy the transaction manager creation functions. They no longer lock the superblock. Superblock locking is pulled out to the caller. Also export dm_bm_write_lock_zero. 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>
This commit is contained in:
parent
eb04cf634f
commit
384ef0e62e
4 changed files with 48 additions and 57 deletions
|
@ -565,6 +565,7 @@ int dm_bm_write_lock_zero(struct dm_block_manager *bm,
|
|||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dm_bm_write_lock_zero);
|
||||
|
||||
int dm_bm_unlock(struct dm_block *b)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue