]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: put the validation of image snap context earlier 8661/head
authorrunsisi <runsisi@zte.com.cn>
Wed, 20 Apr 2016 01:55:39 +0000 (09:55 +0800)
committerrunsisi <runsisi@zte.com.cn>
Wed, 20 Apr 2016 04:29:43 +0000 (12:29 +0800)
commitca8ae66ba42e7a598ad23ed911938589dc288456
tree730132a88ab2906b7718963f51bb1400d79dd538
parentc1520fd7ab07aefe4a89f067989cbcb1353c5af8
librbd: put the validation of image snap context earlier

we'd better validate the snap context right after we got the mutable
metadata before we could go any further

Signed-off-by: runsisi <runsisi@zte.com.cn>
src/librbd/image/RefreshRequest.cc