Lukas Czerner ae49eeec78 ext3: Avoid underflow of in ext3_trim_fs()
Currently if len argument in ext3_trim_fs() is smaller than one block,
the 'end' variable underflow. Avoid that by returning EINVAL if len is
smaller than file system block.

Also remove useless unlikely().

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2012-11-19 21:36:12 +01:00
..
2011-07-25 14:30:23 -04:00
2012-07-30 17:25:16 -07:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00
2010-07-23 12:50:55 +02:00
2012-10-09 23:21:42 +02:00
2012-10-09 23:21:42 +02:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00