commit | 4978db5bd964d90265f957f980ab2b0771ca2b9f | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon May 12 16:51:15 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 12 16:51:15 2008 -0700 |
tree | d93e4b3a4c7e7418d8307506d40007e641482a2f | |
parent | 94d149c34cda933ff5096aca94bb23bf68602f4e [diff] |
lmb: Fix inconsistent alignment of size argument. When allocating, if we will align up the size when making the reservation, we should also align the size for the check that the space is actually available. The simplest thing is to just aling the size up from the beginning, then we can use plain 'size' throughout. Signed-off-by: David S. Miller <davem@davemloft.net>