kcopyd use mutex instead of semaphore
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Fri, 19 Oct 2007 21:38:52 +0000 (22:38 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sat, 20 Oct 2007 01:01:08 +0000 (02:01 +0100)
commitdef5b5b26e6d97820465fadcb7d1cb73cc4daf33
treeee9649cc571503da040ba1582688e16e52de4483
parent094262db9e4c615e0db7a7b924d244b7a6c186b0
kcopyd use mutex instead of semaphore

Kcopyd uses a semaphore as mutex.  Use the mutex API instead of the (binary)
semaphore,

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/md/kcopyd.c