diff options
author | 2012-10-11 12:28:38 +0200 | |
---|---|---|
committer | 2012-11-19 21:36:12 +0100 | |
commit | ae49eeec785025373e28dc24c8351c6bba688d99 (patch) | |
tree | 26d391bf3656e1db4e8e0d97017185c7cc968bff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | reiserfs: Move quota calls out of write lock (diff) | |
download | linux-dev-ae49eeec785025373e28dc24c8351c6bba688d99.tar.xz linux-dev-ae49eeec785025373e28dc24c8351c6bba688d99.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions