linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Badari Pulavarty <pbadari@us.ibm.com>
To: Ken Chen <kenchen@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-mm <linux-mm@kvack.org>
Subject: Re: [patch] fix file position for hugetlbfs-read-support
Date: Tue, 02 Oct 2007 15:37:31 -0700	[thread overview]
Message-ID: <1191364651.6106.52.camel@dyn9047017100.beaverton.ibm.com> (raw)
In-Reply-To: <b040c32a0710021530o7a8ae28aybd65f8f4d677029@mail.gmail.com>

On Tue, 2007-10-02 at 15:30 -0700, Ken Chen wrote:
> While working on a related area, I ran into a bug in hugetlbfs file
> read support that is currently in -mm tree
> (hugetlbfs-read-support.patch).
> 
> The problem is that hugetlb file position wasn't updated in
> hugetlbfs_read(), so sys_read() will always read from same file
> location.  A simple "cp" command that reads file until EOF will never
> terminate.  Fix it by updating the ppos at the end of
> hugetlbfs_read().
> 
> Signed-off-by: Ken Chen <kenchen@google.com>
> 

Acked-by: Badari Pulavarty <pbadari@us.ibm.com>

Thank you.

Thanks,
Badari

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2007-10-02 22:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-02 22:30 Ken Chen
2007-10-02 22:37 ` Badari Pulavarty [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=1191364651.6106.52.camel@dyn9047017100.beaverton.ibm.com \
    --to=pbadari@us.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=kenchen@google.com \
    --cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox