All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ted Ts'o <tytso@mit.edu>
To: Jan Kara <jack@suse.cz>
Cc: linux-ext4@vger.kernel.org, Lukas Czerner <lczerner@redhat.com>
Subject: Re: [PATCH] ext4: Fix trimming of a single group
Date: Fri, 7 Jan 2011 00:02:15 -0500	[thread overview]
Message-ID: <20110107050215.GD2857@thunk.org> (raw)
In-Reply-To: <1294324378-21712-1-git-send-email-jack@suse.cz>

On Thu, Jan 06, 2011 at 03:32:58PM +0100, Jan Kara wrote:
> When ext4_trim_fs() is called to trim a part of a single group, the
> logic will wrongly set last block of the interval to 'len' instead
> of 'first_block + len'. Thus a shorter interval is possibly trimmed.
> Fix it.
> 
> CC: Lukas Czerner <lczerner@redhat.com>
> Signed-off-by: Jan Kara <jack@suse.cz>

Thanks, added to the ext4 tree.

				- Ted

      reply	other threads:[~2011-01-07  5:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06 14:32 [PATCH] ext4: Fix trimming of a single group Jan Kara
2011-01-07  5:02 ` Ted Ts'o [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=20110107050215.GD2857@thunk.org \
    --to=tytso@mit.edu \
    --cc=jack@suse.cz \
    --cc=lczerner@redhat.com \
    --cc=linux-ext4@vger.kernel.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 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.