[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170907133919.r3jg4uhurbecnrkb@thunk.org>
Date: Thu, 7 Sep 2017 09:39:19 -0400
From: Theodore Ts'o <tytso@....edu>
To: Damien Guibouret <damien.guibouret@...tition-saving.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: e2fsprogs - dirhash.c: remove useless test and assignment in
strtohash
On Thu, Jul 27, 2017 at 10:53:54PM +0200, Damien Guibouret wrote:
> On transformation of str to hash, computed value is initialised before
> first byte modulo 4. But it is already initialised before entering loop
> and after processing last byte modulo 4. So the corresponding test and
> initialisation could be removed.
>
> Signed-off-by: Damien Guibouret <damien.guibouret@...tition-saving.com>
Thanks, applied.
- Ted
Powered by blists - more mailing lists