summaryrefslogtreecommitdiffstats
path: root/fs/select.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
commit27cfca1ec98e91261b1a5355d10a8996464b63af (patch)
tree8e895a53e372fa682b4c0a585b9377d67ed70d0e /fs/select.c
parent6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff)
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'fs/select.c')
-rw-r--r--fs/select.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/select.c b/fs/select.c
index 4c88f0437..1328660b0 100644
--- a/fs/select.c
+++ b/fs/select.c
@@ -25,6 +25,7 @@
#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <linux/poll.h>
+#include <linux/file.h>
#include <asm/uaccess.h>
#include <asm/system.h>
@@ -59,6 +60,7 @@ static void free_wait(poll_table * p)
p->nr--;
entry--;
remove_wait_queue(entry->wait_address,&entry->wait);
+ fput(entry->filp);
}
}
@@ -197,7 +199,6 @@ out:
free_page((unsigned long) wait_table.entry);
}
out_nowait:
- current->timeout = 0;
unlock_kernel();
return retval;
}