ext4: Check for the correct error return from
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 29 Jan 2008 04:58:27 +0000 (23:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Jan 2008 04:58:27 +0000 (23:58 -0500)
commit221879c927df05280283a4de6124806c17cc44d4
treec9d1a53dc45c5d7dbe2456cbaee6eb56ed967bb2
parentf5a7a6b0d9b6af7d46124ed3f6b3995225cb62d0
ext4: Check for the correct error return from

ext4_ext_get_blocks returns negative values on error. We should
check for  <= 0

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
fs/ext4/extents.c