]> Pileus Git - ~andy/linux/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)
commit96f03e08f9f27cf72d2c24b4e75ade81d2df3c75
treefbd3b5287b43b5d88bad30d5cbd6e86caa935ddc
parent0d8189e175380c029a309f05f44e82bacf1c0404
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