[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 3 Mar 2010 12:52:17 -0500
From: tytso@....edu
To: Akira Fujita <a-fujita@...jp.nec.com>
Cc: Leonard Michlmayr <leonard.michlmayr@...il.com>,
Ext4 Developers List <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH 11/28] ext4: correctly calculate number of blocks for
fiemap
On Wed, Mar 03, 2010 at 04:47:28PM +0900, Akira Fujita wrote:
>
> In 1KB block size, the overflow occurs at above line.
> Since last_blk is set 0xffffffff when len is equal to s_maxbytes.
> Therefore ext4_fiemap() can not get correct extent information
> with 0 length. How about adding this change?
What do you think _is_ the correct thing to do when length is 0? As
Leonard has already pointed out, fiemap_check_ranges() already filters
out the length=0 case.
- 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