summaryrefslogtreecommitdiff
path: root/ccan/compiler/test/compile_fail-printf.c
diff options
context:
space:
mode:
authorJacob Malevich <jam@daterainc.com>2014-12-18 19:19:21 -0800
committerJacob Malevich <jam@daterainc.com>2014-12-19 14:44:24 -0800
commitff6acc10b405cb06878d15b584cfa82a78ff95f0 (patch)
tree8782534786497ede3bef2be9c8f2ac36679639f1 /ccan/compiler/test/compile_fail-printf.c
parent34f6746c338976c4a47ed0405d4858b4ca57297e (diff)
bcacheadm: fix status and query-devs
Previously we were reading old superblocks stuck in the cache. Pass in O_DIRECT when opening the device. This requires that the dest buffer be memaligned. If we are unable to read the entire superblock then increase the buffer and try again. Also since we now have to alloc the sb, make sure it is freed everywhere in bcacheadm. Fixes DAT-1609 DAT-1626 Change-Id: I04b5337b992a8569809835b5826a2656df753214 Signed-off-by: Jacob Malevich <jam@daterainc.com>
Diffstat (limited to 'ccan/compiler/test/compile_fail-printf.c')
0 files changed, 0 insertions, 0 deletions