summaryrefslogtreecommitdiff
path: root/Grow.c
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2012-02-14 11:52:13 +0100
committerNeilBrown <neilb@suse.de>2012-02-16 14:16:03 +1100
commitd669228f295e4c695475f0c1f7dc52f514a177c4 (patch)
tree740080c82807bcd4dd22403f3e67a52e312f374c /Grow.c
parent9f1b0f0f1ed0dd4752be65348a24971335cd50e8 (diff)
Use posix_memalign() for memory used to write bitmaps
This makes super[01].c properly align buffers used for the bitmap using posix_memalign() to make sure the writes don't fail in case the bitmap is opened using O_DIRECT. This is based on https://bugzilla.redhat.com/show_bug.cgi?id=789898 and an initial patch by Alexander Murashkin. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Grow.c')
0 files changed, 0 insertions, 0 deletions