[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110228044139.GP2924@thunk.org>
Date: Sun, 27 Feb 2011 23:41:39 -0500
From: Ted Ts'o <tytso@....edu>
To: Amir Goldstein <amir73il@...il.com>
Cc: Jan Kara <jack@...e.cz>,
Ext4 Developers List <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH] ext4: nblocks arg to ext4_truncate_restart_trans() is
ignored
On Sun, Feb 27, 2011 at 11:54:28AM +0200, Amir Goldstein wrote:
> nblocks is passed into ext4_truncate_restart_trans() from
> ext4_ext_truncate_extend_restart() with a value different from the default
> blocks_for_truncate(), but is being ignored.
>
> The two other calls to ext4_truncate_restart_trans() already pass the
> default value, which is then being recalculated inside the function.
>
> Fix the problem by using the passed argument.
>
> Signed-off-by: Amir Goldstein <amir73il@...rs.sf.net>
Thanks, added to the ext4 patch queue.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists