Re: [PATCH] ext4: When reading from fallocated blocks make sure we return zero.

2008-02-18 Thread Aneesh Kumar K.V
On Mon, Feb 18, 2008 at 04:14:34PM -0800, Mingming Cao wrote: On Sat, 2008-02-16 at 08:53 +0530, Aneesh Kumar K.V wrote: How about the following patch? Regards, Mingming ext4: ext4_get_blocks_wrap fix for writing to preallocated From: Mingming Cao [EMAIL PROTECTED] This patch fixed

Re: [PATCH] ext4: When reading from fallocated blocks make sure we return zero.

2008-02-18 Thread Mingming Cao
On Tue, 2008-02-19 at 08:49 +0530, Aneesh Kumar K.V wrote: On Mon, Feb 18, 2008 at 04:14:34PM -0800, Mingming Cao wrote: On Sat, 2008-02-16 at 08:53 +0530, Aneesh Kumar K.V wrote: How about the following patch? Regards, Mingming ext4: ext4_get_blocks_wrap fix for writing to

Re: [PATCH] ext4: When reading from fallocated blocks make sure we return zero.

2008-02-17 Thread Aneesh Kumar K.V
On Sat, Feb 16, 2008 at 08:53:34AM +0530, Aneesh Kumar K.V wrote: On Fri, Feb 15, 2008 at 11:43:04AM -0800, Mingming Cao wrote: On Fri, 2008-02-15 at 23:46 +0530, Aneesh Kumar K.V wrote: fallocate blocks are considered as sparse area and read from them should return zero.

[PATCH] ext4: When reading from fallocated blocks make sure we return zero.

2008-02-15 Thread Aneesh Kumar K.V
fallocate blocks are considered as sparse area and read from them should return zero. ext4_ext_get_blocks should return zero for read request. Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED] --- fs/ext4/extents.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git