]> 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)
commit7979c7b171a4461f48e43919892564b4b5e735a6
treefbd3b5287b43b5d88bad30d5cbd6e86caa935ddc
parentb95e6d5820065b7cb498c2c4d26b4900fedfd9a2
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