Skip to content
Commit 474ef7ce authored by Josh Durgin's avatar Josh Durgin Committed by Sage Weil
Browse files

rbd: only reset capacity when pointing to head



Snapshots cannot be resized, and the new capacity of head should not
be reflected by the snapshot.

Signed-off-by: default avatarJosh Durgin <josh.durgin@inktank.com>
Reviewed-by: default avatarAlex Elder <elder@inktank.com>
parent e88a36ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment