[PATCH] uml: error path cleanup
authorJeff Dike <jdike@addtoit.com>
Sat, 3 Sep 2005 22:57:29 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:21 +0000 (00:06 -0700)
commitec7cf783dd6cf5c8fb6b6767560686ed28d1cd6d
tree80cd4175dade9146e0353771e69080deda037374
parent7efd08c85523f9468a6a8748d6f02b3e73967569
[PATCH] uml: error path cleanup

This cleans up the error path in ubd_open, causing it now to call ubd_close
appropriately when something fails.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/ubd_kern.c