From: Lukas Czerner Date: Wed, 22 Jun 2011 08:51:09 +0000 (+0200) Subject: ext3: Return -EINVAL when start is beyond the end of fs in ext3_trim_fs() X-Git-Tag: v3.1-rc1~224^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c2ea9451fc2a12ee57c8346f0da26969d07ee7f;p=pandora-kernel.git ext3: Return -EINVAL when start is beyond the end of fs in ext3_trim_fs() We should return -EINVAL when the FITRIM parameters are not sane, but currently we are exiting silently if start is beyond the end of the file system. This commit fixes this so we return -EINVAL as other file systems do. Signed-off-by: Lukas Czerner CC: Jan Kara Signed-off-by: Jan Kara --- Reading git-diff-tree failed