[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0903171001500.3082@localhost.localdomain>
Date: Tue, 17 Mar 2009 10:02:09 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Alexey Dobriyan <adobriyan@...il.com>
cc: linux-kernel@...r.kernel.org, r0bertz@...too.org,
viro@...IV.linux.org.uk
Subject: Re: [GIT] /proc/*/task getdents fixlet
On Tue, 17 Mar 2009, Alexey Dobriyan wrote:
> On Tue, Mar 17, 2009 at 09:15:46AM -0700, Linus Torvalds wrote:
> >
> > 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) {
Ok, I'll do just that one by hand.
Linus
--
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