From: "J.A. Magallon" <jamagallon@able.es>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [patch] epoll for 2.4.20 updated ...
Date: Sun, 26 Jan 2003 01:15:11 +0100 [thread overview]
Message-ID: <20030126001511.GE1507@werewolf.able.es> (raw)
In-Reply-To: <Pine.LNX.4.50.0301242004010.2858-100000@blue1.dev.mcafeelabs.com>; from davidel@xmailserver.org on Sat, Jan 25, 2003 at 05:06:30 +0100
On 2003.01.25 Davide Libenzi wrote:
>
> I updated the 2.4.20 patch with the changes posted today and I fixed a
> little error about the wait queue function prototype :
>
> http://www.xmailserver.org/linux-patches/sys_epoll-2.4.20-0.61.diff
>
I needed this to build smbfs:
--- linux-2.4.21-pre3-jam3/fs/smbfs/sock.c.orig 2003-01-26 01:02:32.000000000 +0100
+++ linux-2.4.21-pre3-jam3/fs/smbfs/sock.c 2003-01-26 01:03:11.000000000 +0100
@@ -314,7 +314,7 @@
smb_receive_poll(struct smb_sb_info *server)
{
struct file *file = server->sock_file;
- poll_table wait_table;
+ struct poll_wqueues wait_table;
int result = 0;
int timeout = server->mnt->timeo * HZ;
int mask;
@@ -323,7 +323,7 @@
poll_initwait(&wait_table);
set_current_state(TASK_INTERRUPTIBLE);
- mask = file->f_op->poll(file, &wait_table);
+ mask = file->f_op->poll(file, &wait_table.pt);
if (mask & POLLIN) {
poll_freewait(&wait_table);
current->state = TASK_RUNNING;
Is it correct ?
TIA
--
J.A. Magallon <jamagallon@able.es> \ Software is like sex:
werewolf.able.es \ It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.21-pre3-jam3 (gcc 3.2.1 (Mandrake Linux 9.1 3.2.1-4mdk))
next prev parent reply other threads:[~2003-01-26 0:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-25 4:06 [patch] epoll for 2.4.20 updated Davide Libenzi
2003-01-25 21:58 ` J.A. Magallon
2003-01-25 23:44 ` Davide Libenzi
2003-01-26 0:15 ` J.A. Magallon [this message]
2003-01-26 0:28 ` Davide Libenzi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030126001511.GE1507@werewolf.able.es \
--to=jamagallon@able.es \
--cc=davidel@xmailserver.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.