Aneesh Kumar K.V e067ba0078 ext4: make ext4_ext_get_blocks always return <= max_blocks
ext4_ext_get_blocks() returns number of blocks allocated with buffer
heads unmapped for a read from prealloc space.  This is needed so that
delayed allocation doesn't do block reservation for prealloc space since
the blocks are already resevred on disk.  Fix ext4_ext_get_blocks to not
return greater than max_blocks, since some of the code paths cannot
handle such a return value.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-04-29 08:11:12 -04:00
..
2008-04-29 08:06:02 -07:00
2008-04-29 08:06:26 -07:00
2008-04-29 08:06:18 -07:00
2008-04-29 08:06:04 -07:00
2008-04-29 08:06:28 -07:00
2008-04-29 08:06:00 -07:00
2008-04-28 08:58:18 -07:00
2008-04-29 08:06:01 -07:00
2008-04-29 08:06:18 -07:00
2008-04-29 08:06:00 -07:00
2008-03-30 14:18:41 -07:00
2008-04-28 08:58:46 -07:00
2008-04-28 08:58:45 -07:00
2008-04-28 08:58:47 -07:00
2008-04-29 08:06:29 -07:00
2008-04-29 08:06:17 -07:00
2008-04-29 08:05:59 -07:00
2008-04-29 08:06:17 -07:00
2008-04-25 09:24:05 -04:00
2008-04-29 08:06:06 -07:00
2008-04-29 08:06:00 -07:00
2008-04-29 08:06:01 -07:00
2008-04-29 08:06:09 -07:00
2008-04-21 22:15:06 +00:00
2008-04-29 09:48:15 +02:00
2008-04-29 08:06:00 -07:00