]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rbd: BUG on invalid layout
authorSage Weil <sage@inktank.com>
Tue, 25 Sep 2012 04:02:47 +0000 (21:02 -0700)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 22:20:00 +0000 (17:20 -0500)
commit6cae3717cddaf8e5e96e304733dca66e40d56f89
treee8b6d6f977557ba7e7c5dd24df702fa27a509c41
parent6816282dab3a72efe8c0d182c1bc2960d87f4322
rbd: BUG on invalid layout

This shouldn't actually be possible because the layout struct is
constructed from the RBD header and validated then.

[elder@inktank.com: converted BUG() call to equivalent rbd_assert()]

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
drivers/block/rbd.c