dm snapshot: avoid dropping lock in __find_pending_exception
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 2 Apr 2009 18:55:25 +0000 (19:55 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 2 Apr 2009 18:55:25 +0000 (19:55 +0100)
It is uncommon and bug-prone to drop a lock in a function that is called with
the lock held, so this is moved to the caller.

Cc: stable@kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>

No differences found