summaryrefslogtreecommitdiff
path: root/lib/Kconfig.kmemcheck
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-07-25 18:32:40 +0400
committerSage Weil <sage@inktank.com>2012-07-31 05:15:48 +0400
commit8e94af8e2b582e5915abc171a28130881d1c26e4 (patch)
treeddc6135050fcb792fb4b4b45ee9aadbd050a5526 /lib/Kconfig.kmemcheck
parentaa711ee3402ad10ffd5b70ce0417fadc9a95cccf (diff)
downloadlinux-8e94af8e2b582e5915abc171a28130881d1c26e4.tar.xz
rbd: encapsulate header validity test
If an rbd image header is read and it doesn't begin with the expected magic information, a warning is displayed. This is a fairly simple test, but it could be extended at some point. Fix the comparison so it actually looks at the "text" field rather than the front of the structure. In any case, encapsulate the validity test in its own function. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'lib/Kconfig.kmemcheck')
0 files changed, 0 insertions, 0 deletions