[PATCH 27/49] ext4: Check for the correct error return from

2008-01-21 Thread Theodore Ts'o
From: Aneesh Kumar K.V <[EMAIL PROTECTED]> ext4_ext_get_blocks returns negative values on error. We should check for <= 0 Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECTED]> --- fs/ext4/extents.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 27/49] ext4: Check for the correct error return from

2008-01-21 Thread Theodore Ts'o
From: Aneesh Kumar K.V [EMAIL PROTECTED] ext4_ext_get_blocks returns negative values on error. We should check for = 0 Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED] --- fs/ext4/extents.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/ext4/extents.c