diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-03-31 18:43:52 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-12 05:27:54 +0300 |
commit | 08397acdd0f02d566154c9ac7f625ae8e77133b3 (patch) | |
tree | cc73c51495b875921625093ea30a9bbdbe175e40 /fs/xfs | |
parent | 23602adfee71894d04ce2b69cbd6d29ab2e77d6d (diff) | |
download | linux-08397acdd0f02d566154c9ac7f625ae8e77133b3.tar.xz |
ioctx_alloc(): remove pointless check
Way, way back kiocb used to be picked from arrays, so ioctx_alloc()
checked for multiplication overflow when calculating the size of
such array. By the time fs/aio.c went into the tree (in 2002) they
were already allocated one-by-one by kmem_cache_alloc(), so that
check had already become pointless. Let's bury it...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions