forked from luck/tmp_suning_uos_patched
[PATCH] uml: add back accidentally removed error
In the 2.6.20 hang patch, I accidentally threw out an error message. This puts it back. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
af72790221
commit
04a51e66ad
@ -334,8 +334,11 @@ void maybe_sigio_broken(int fd, int read)
|
||||
|
||||
sigio_lock();
|
||||
err = need_poll(&all_sigio_fds, all_sigio_fds.used + 1);
|
||||
if(err)
|
||||
if(err){
|
||||
printk("maybe_sigio_broken - failed to add pollfd for "
|
||||
"descriptor %d\n", fd);
|
||||
goto out;
|
||||
}
|
||||
|
||||
all_sigio_fds.poll[all_sigio_fds.used++] =
|
||||
((struct pollfd) { .fd = fd,
|
||||
|
Loading…
Reference in New Issue
Block a user