aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorLukas Czerner <[email protected]>2012-10-11 10:28:38 +0000
committerJan Kara <[email protected]>2012-11-19 20:36:12 +0000
commitae49eeec785025373e28dc24c8351c6bba688d99 (patch)
tree26d391bf3656e1db4e8e0d97017185c7cc968bff /fs/proc/array.c
parentreiserfs: Move quota calls out of write lock (diff)
downloadkernel-ae49eeec785025373e28dc24c8351c6bba688d99.tar.gz
kernel-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 <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions