[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090317170023.GA2479@x200.localdomain>
Date: Tue, 17 Mar 2009 20:00:23 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, r0bertz@...too.org,
viro@...IV.linux.org.uk
Subject: Re: [GIT] /proc/*/task getdents fixlet
On Tue, Mar 17, 2009 at 09:15:46AM -0700, Linus Torvalds wrote:
>
>
> On Tue, 17 Mar 2009, Alexey Dobriyan wrote:
> >
> > Linus, please from
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/adobriyan/proc.git proc-linus
> >
> > to get the following patch:
> >
> > Zhang Le (1):
> > proc: update ->f_pos correctly in proc_task_readdir()
>
> Grr. I already took the previous patch.
>
> I assume the only difference is to avoid using a "switch()" on a 64-bit
> variable, and just cast it to "unsigned long". No?
Yes,
+ switch ((unsigned long)filp->f_pos) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists