summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-log.c
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2005-11-22 06:32:33 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-22 18:14:31 +0100
commitc4cc66351a24da5feec298be2da59a85f68dd3ea (patch)
tree76b03b0bfa3d6db905b9b7e26997263b01cbe3ee /drivers/md/dm-log.c
parent[PATCH] device-mapper dm-ioctl: missing put in table load error case (diff)
downloadlinux-c4cc66351a24da5feec298be2da59a85f68dd3ea.tar.xz
linux-c4cc66351a24da5feec298be2da59a85f68dd3ea.zip
[PATCH] device-mapper: list_versions fix
In some circumstances the LIST_VERSIONS output is truncated because the size calculation forgets about a 'uint32_t' in each structure - but the inclusion of the whole of ALIGN_MASK frequently compensates for the omission. This is a quick workaround to use an upper bound. (The code ought to be fixed to supply the actual size.) Running 'dmsetup targets' may demonstrate the problem: when I run it, the last line comes out as 'erro' instead of 'error'. Consequently, 'lvcreate --type error' doesn't work. Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/dm-log.c')
0 files changed, 0 insertions, 0 deletions