commit | 0bf16bffeef65622603af22151156807323d7dc7 | [log] [tgz] |
---|---|---|
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | Mon Oct 30 22:07:11 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Oct 31 08:07:00 2006 -0800 |
tree | a6a97156aed12ddfa01049786b5a0d716564fc94 | |
parent | 84e945e399ce9710a34035ea81eaf5719aa709af [diff] |
[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 <blaisorblade@yahoo.it> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>