diff options
author | David S. Miller <davem@davemloft.net> | 2008-05-12 16:51:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-12 16:51:15 -0700 |
commit | 4978db5bd964d90265f957f980ab2b0771ca2b9f (patch) | |
tree | d93e4b3a4c7e7418d8307506d40007e641482a2f /lib/locking-selftest-spin-hardirq.h | |
parent | 94d149c34cda933ff5096aca94bb23bf68602f4e (diff) | |
download | op-kernel-dev-4978db5bd964d90265f957f980ab2b0771ca2b9f.zip op-kernel-dev-4978db5bd964d90265f957f980ab2b0771ca2b9f.tar.gz |
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>
Diffstat (limited to 'lib/locking-selftest-spin-hardirq.h')
0 files changed, 0 insertions, 0 deletions