mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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 <[email protected]> Signed-off-by: Jan Kara <[email protected]>