[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110914172800.GH3429@dhcp-172-31-195-159.cam.corp.google.com>
Date: Wed, 14 Sep 2011 13:28:00 -0400
From: Ted Ts'o <tytso@....edu>
To: Lukas Czerner <lczerner@...hat.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] e2image: fix invalid lseek error detection
On Wed, Aug 24, 2011 at 10:00:34AM +0200, Lukas Czerner wrote:
> In flush_l2_cache() we are using ext2fs_llseek() however we do not
> properly detect the error code returned from the function, because we
> are assigning it into ULL variable, hence we will not see negative
> values.
>
> Fix this by changing the type of the variable to ext2_loff_t which is
> signed and hence will store negative values.
>
> Signed-off-by: Lukas Czerner <lczerner@...hat.com>
Thanks, applied.
- 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