]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: don't bother checking whether order changes
authorAlex Elder <elder@inktank.com>
Sat, 27 Apr 2013 14:59:31 +0000 (09:59 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:20:00 +0000 (21:20 -0700)
commitdfb75ad06b04e2d93904b24aae35897fa31a848e
treefbd3b5287b43b5d88bad30d5cbd6e86caa935ddc
parenta2d863eb566c24b62249b5864c96b0e8b3d2e1e0
rbd: don't bother checking whether order changes

When a format 2 image is refreshed, code is in place to verify that
the object order never changes from what it was originally.  This
relies on the fact that the refresh will occur *after* an initial
load of information about the image.

An upcoming patch makes it possible for the refresh to occur first,
so we can no longer make this order check.  The order really can't
ever change anyway--this was just a sanity check.  So get rid of it.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c