mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
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 20:00:23 +0300	[thread overview]
Message-ID: <20090317170023.GA2479@x200.localdomain> (raw)
In-Reply-To: <alpine.LFD.2.00.0903170913250.3082@localhost.localdomain>

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) {

  reply	other threads:[~2009-03-17 16:53 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 [this message]
2009-03-17 17:02     ` Linus Torvalds

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=20090317170023.GA2479@x200.localdomain \
    --to=adobriyan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=r0bertz@gentoo.org \
    --cc=torvalds@linux-foundation.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®