From: Paolo 'Blaisorblade' Giarrusso Date: Tue, 31 Oct 2006 06:07:11 +0000 (-0800) Subject: [PATCH] uml ubd driver: do not store error codes as ->fd X-Git-Tag: v2.6.19-rc5~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bf16bffeef65622603af22151156807323d7dc7;p=pandora-kernel.git [PATCH] uml ubd driver: do not store error codes as ->fd To simplify error handling, make sure fd is saved into ubd_dev->fd only when we are sure it is an fd and not an error code. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed