summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-02-07 04:30:20 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-02-07 03:43:27 -0800
commit090a96d0a5963bc62efc3354480e277610cab7e6 (patch)
treecbf1424fe4f065efb78d40978cda924d9226ad7e /xlators/features/locks
parentfd4523e667f19cf5c4f3849679aacf41f860a766 (diff)
dht: Remove pointer casting in layout handling
Small changes by Anand Avati <avati@gluster.com> over original submission: Remove pointer casting (copy data to proper memory before using it). Fixes bug #493. Hello, See bug #493 for more information on this patch. http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=493#c2 This patch assumes that the scope of disk_layout is local wherever it is used. Seems correct, not really checked, though. Greetings, Hraban Luyat Signed-off-by: Hraban Luyat <hraban@0brg.net> Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 493 (tcp + dht + armv5tel: ???brick: disk layout has invalid count 29696???) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=493
Diffstat (limited to 'xlators/features/locks')
0 files changed, 0 insertions, 0 deletions