From: Andreas Dilger <adilger@sun.com>
To: Peng Tao <bergwolf@gmail.com>
Cc: linux-ext4@vger.kernel.org, tytso@mit.edu
Subject: Re: [PATCH-e2fsprogs] filefrag: fix fm_start in filefrag_fiemap loop
Date: Tue, 02 Jun 2009 12:35:13 -0600 [thread overview]
Message-ID: <20090602183513.GK3218@webber.adilger.int> (raw)
In-Reply-To: <1243965783-31950-1-git-send-email-bergwolf@gmail.com>
Can you please provide some more details of the problem this solves.
On Jun 03, 2009 02:03 +0800, Peng Tao wrote:
> Signed-off-by: Peng Tao <bergwolf@gmail.com>
> ---
> misc/filefrag.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/misc/filefrag.c b/misc/filefrag.c
> index 6bea2cd..7786646 100644
> --- a/misc/filefrag.c
> +++ b/misc/filefrag.c
> @@ -239,7 +239,7 @@ int filefrag_fiemap(int fd, int blk_shift, int *num_extents)
> n++;
> }
>
> - fiemap->fm_start += fm_ext[i-1].fe_logical +
> + fiemap->fm_start = fm_ext[i-1].fe_logical +
> fm_ext[i-1].fe_length;
> } while (last == 0);
>
> --
> 1.6.2.GIT
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
next prev parent reply other threads:[~2009-06-02 18:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-02 18:03 [PATCH-e2fsprogs] filefrag: fix fm_start in filefrag_fiemap loop Peng Tao
2009-06-02 18:35 ` Andreas Dilger [this message]
2009-06-03 1:21 ` Peng Tao
2009-06-03 21:37 ` Andreas Dilger
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=20090602183513.GK3218@webber.adilger.int \
--to=adilger@sun.com \
--cc=bergwolf@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.