[PATCH] device-mapper dm-ioctl: missing put in table load error case

An error path in table_load() forgets to release a table that won't now be
referenced.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Kiyoshi Ueda and committed by Linus Torvalds b6fcc80d 98766fbe

+1
+1
drivers/md/dm-ioctl.c
··· 974 974 if (!hc) { 975 975 DMWARN("device doesn't appear to be in the dev hash table."); 976 976 up_write(&_hash_lock); 977 + dm_table_put(t); 977 978 return -ENXIO; 978 979 } 979 980