dm snapshot: consolidate insert exception functions
authorJon Brassow <jbrassow@redhat.com>
Thu, 10 Dec 2009 23:52:09 +0000 (23:52 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 10 Dec 2009 23:52:09 +0000 (23:52 +0000)
commitd32a6ea65fbc33621f9c790da3dff10201640b2a
treea352ceb4ed92812bda57dd33806417da84adbc7b
parent7e201b35132a1f02c931a0a06760766c846bb49b
dm snapshot: consolidate insert exception functions

Consolidate the insert_*exception functions.  'insert_completed_exception'
already contains all the logic to handle 'insert_exception' (via
check for a hash_shift of 0), so remove redundant function.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap.c