kernel_optimize_test/fs/ext3
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
..
acl.c
acl.h
balloc.c
bitmap.c
dir.c
ext3_jbd.c
ext3.h
file.c
fsync.c
hash.c
ialloc.c
inode.c
ioctl.c
Kconfig
Makefile
namei.c
namei.h
resize.c
super.c
symlink.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c
xattr.h