]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm thin: cleanup noflush_work to use a proper completion
authorJoe Thornber <ejt@redhat.com>
Tue, 13 May 2014 20:14:14 +0000 (16:14 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 27 May 2014 14:46:28 +0000 (10:46 -0400)
commit53385c75f7309687d8c87b50dc58f83b7503e212
treebd672a16510422d7d0bdc9d46737e34be77d2333
parent9e3ddf584903fd7aa4ce666ee5fca165d6a29d0a
dm thin: cleanup noflush_work to use a proper completion

Factor out a pool_work interface that noflush_work makes use of to wait
for and complete work items (in terms of a proper completion struct).
Allows discontinuing the use of a custom completion in terms of atomic_t
and wait_event.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-thin.c