mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: linux-kernel@vger.kernel.org, r0bertz@gentoo.org,
	viro@ZenIV.linux.org.uk
Subject: Re: [GIT] /proc/*/task getdents fixlet
Date: Tue, 17 Mar 2009 10:02:09 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.2.00.0903171001500.3082@localhost.localdomain> (raw)
In-Reply-To: <20090317170023.GA2479@x200.localdomain>



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

      reply	other threads:[~2009-03-17 17:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-17 16:06 Alexey Dobriyan
2009-03-17 16:15 ` Linus Torvalds
2009-03-17 17:00   ` Alexey Dobriyan
2009-03-17 17:02     ` Linus Torvalds [this message]

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=alpine.LFD.2.00.0903171001500.3082@localhost.localdomain \
    --to=torvalds@linux-foundation.org \
    --cc=adobriyan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=r0bertz@gentoo.org \
    --cc=viro@ZenIV.linux.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®