summaryrefslogtreecommitdiff
path: root/drivers/parisc/eisa_enumerator.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2012-03-07 23:09:41 +0400
committerAlasdair G Kergon <agk@redhat.com>2012-03-07 23:09:41 +0400
commit1f3db25d8be4ac50b897b39609802183ea68a514 (patch)
treeb8e140111ba62062d309ae0dec90543f35e28172 /drivers/parisc/eisa_enumerator.c
parent1212268fd9816e3b8801e57b896fceaec71969ad (diff)
downloadlinux-1f3db25d8be4ac50b897b39609802183ea68a514.tar.xz
dm thin metadata: remove incorrect close_device on creation error paths
The __open_device() error paths in __create_thin() and __create_snap() incorrectly call __close_device() even if td was not initialized by __open_device(). Remove this. Also document __open_device() return values, remove a redundant td->changed = 1 in __create_thin(), and insert an additional safeguard against creating an already-existing device. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@kernel.org Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/parisc/eisa_enumerator.c')
0 files changed, 0 insertions, 0 deletions