aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJoern Engel <[email protected]>2010-03-28 10:47:09 +0000
committerJoern Engel <[email protected]>2010-03-28 11:00:08 +0000
commit81def6b9862764924a99ac1b680e73ac8c80ac64 (patch)
tree8f7a408a355172bfb53bf2e69981a154dde3b01a /lib/debugobjects.c
parentPrevent data corruption in logfs_rewrite_block() (diff)
downloadkernel-81def6b9862764924a99ac1b680e73ac8c80ac64.tar.gz
kernel-81def6b9862764924a99ac1b680e73ac8c80ac64.zip
Simplify and fix pad_wbuf
A comment in the old code read: /* The math in this function can surely use some love */ And indeed it did. In the case that area->a_used_bytes is exactly 4096 bytes below segment size it fell apart. pad_wbuf is now split into two helpers that are significantly less complicated. Signed-off-by: Joern Engel <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions